Skip to content

Commit

Permalink
pylint.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Nov 25, 2024
1 parent 8d20afd commit 410ab76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/server/async_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 410ab76

Please sign in to comment.