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 d5cdb0b commit 94fa6b1Copy full SHA for 94fa6b1
pymodbus/client/serial.py
@@ -121,6 +121,7 @@ async def connect(self): # pylint: disable=invalid-overridden-method
121
except Exception as exc: # pylint: disable=broad-except
122
txt = f"Failed to connect: {exc}"
123
_logger.warning(txt)
124
+ return self.connected
125
126
def protocol_made_connection(self, protocol):
127
"""Notify successful connection."""
0 commit comments