From: Jérôme Benoit Date: Sun, 22 Jan 2023 12:18:00 +0000 (+0100) Subject: Improve OCPP message type logging X-Git-Tag: v1.1.92~29 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=336f2829e8bdfc4f47839eaa73933bf5ca5b0af8;p=e-mobility-charging-stations-simulator.git Improve OCPP message type logging Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index cf2aa07e..04ca7046 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -53,6 +53,8 @@ export class OCPPServiceUtils { return 'response'; case MessageType.CALL_ERROR_MESSAGE: return 'error'; + default: + return 'unknown'; } }