Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pymodbus/client/tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ async def _connect(self):
),
timeout=self.params.timeout,
)
return transport, protocol
except Exception as exc: # pylint: disable=broad-except
txt = f"Failed to connect: {exc}"
_logger.warning(txt)
Expand All @@ -98,6 +97,7 @@ async def _connect(self):
txt = f"Connected to {self.params.host}:{self.params.port}."
_logger.info(txt)
self.reset_delay()
return transport, protocol

def protocol_made_connection(self, protocol):
"""Notify successful connection."""
Expand Down