From 336f2829e8bdfc4f47839eaa73933bf5ca5b0af8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 22 Jan 2023 13:18:00 +0100 Subject: [PATCH] Improve OCPP message type logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ocpp/OCPPServiceUtils.ts | 2 ++ 1 file changed, 2 insertions(+) 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'; } } -- 2.34.1