From 4e5c91aef023b214716aeb6699edebd282cceeb9 Mon Sep 17 00:00:00 2001 From: Sekiya Date: Thu, 27 Jun 2024 17:51:03 +0900 Subject: [PATCH] fix: issue 39 --- tests/ocpp-server/server.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/ocpp-server/server.py b/tests/ocpp-server/server.py index 5738c7e3..ea02342b 100644 --- a/tests/ocpp-server/server.py +++ b/tests/ocpp-server/server.py @@ -138,10 +138,8 @@ async def send_ocpp_command(cp, command_name, delay=None, period=None): case Action.GetBaseReport: logging.info("%s Send:", Action.GetBaseReport) await cp.send_get_base_report() - case _: - logging.warning(f"Unsupported command {command_name}") except Exception: - logging.exception(f"Failure while processing command {command_name}") + logging.exception(f"Not supported or Failure while processing command {command_name}") if delay: await asyncio.sleep(delay) -- 2.34.1