We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 524c94e commit adc2019Copy full SHA for adc2019
pymodbus/server/requesthandler.py
@@ -97,9 +97,10 @@ async def handle_request(self):
97
response = await self.last_pdu.update_datastore(context)
98
99
except NoSuchIdException:
100
- Log.error("requested device id does not exist: {}", self.last_pdu.dev_id)
101
if self.server.ignore_missing_devices:
+ Log.debug("ignoring request for unknown device id: {}", self.last_pdu.dev_id)
102
return # the client will simply timeout waiting for a response
103
+ Log.error("requested device id does not exist: {}", self.last_pdu.dev_id)
104
response = ExceptionResponse(self.last_pdu.function_code, ExcCodes.GATEWAY_NO_RESPONSE)
105
except Exception as exc: # pylint: disable=broad-except
106
Log.error(
0 commit comments