Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
messageType === MessageType.CALL_MESSAGE && this.chargingStation.requests.delete(messageId);
});
} else {
- throw new OCPPError(ErrorType.SECURITY_ERROR, 'Cannot send command payload if the charging station is in unknown state', commandName, { status: this.chargingStation?.bootNotificationResponse?.status });
+ throw new OCPPError(ErrorType.SECURITY_ERROR, 'Cannot send command payload if the charging station is in unknown state', commandName);
}
}