: true;
}
- public getMayAuthorizeAtRemoteStart(): boolean | undefined {
- return this.stationInfo.mayAuthorizeAtRemoteStart ?? true;
+ public getMustAuthorizeAtRemoteStart(): boolean | undefined {
+ return this.stationInfo.mustAuthorizeAtRemoteStart ?? true;
}
public getPayloadSchemaValidation(): boolean | undefined {
} catch (error) {
// Log
logger.error(
- `${this.logPrefix()} Incoming OCPP '${
+ `${this.logPrefix()} Incoming OCPP command '${
commandName ?? requestCommandName ?? null
}' message '${data.toString()}' matching cached request '${JSON.stringify(
this.requests.get(messageId)
);
if (!(error instanceof OCPPError)) {
logger.warn(
- `${this.logPrefix()} Error thrown at incoming OCPP '${
+ `${this.logPrefix()} Error thrown at incoming OCPP command '${
commandName ?? requestCommandName ?? null
}' message '${data.toString()}' handling is not an OCPPError:`,
error