From 410ab767ab67cade75befbe508953288be5110bb Mon Sep 17 00:00:00 2001 From: jan iversen Date: Mon, 25 Nov 2024 19:26:29 +0100 Subject: [PATCH] pylint. --- pymodbus/server/async_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymodbus/server/async_io.py b/pymodbus/server/async_io.py index 8e77a7e1e..a4f98c63d 100644 --- a/pymodbus/server/async_io.py +++ b/pymodbus/server/async_io.py @@ -225,7 +225,7 @@ def callback_data(self, data: bytes, addr: tuple | None = ()) -> int: try: _used_len, _pdu = self.framer.processIncomingFrame(data) except ModbusException: - pass + Log.error("Framer received ModbusException.") self.receive_queue.put_nowait((data, addr)) return len(data)