Skip to content

Commit

Permalink
Improve logging on connection failure (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaskivskyi authored Nov 10, 2023
1 parent d835dfe commit aa193aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asusrouter/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async def async_connect(
except AsusRouterAccessError as ex:
raise ex
except AsusRouterError as ex:
_LOGGER.debug("Connection failed")
_LOGGER.debug("Connection failed with error: %s", ex)
if retry < len(DEFAULT_TIMEOUTS) - 1:
_LOGGER.debug(
"Will try again in %s seconds", DEFAULT_TIMEOUTS[retry]
Expand Down

0 comments on commit aa193aa

Please sign in to comment.