Skip to content

Commit

Permalink
Improve logging for connection failures (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotvezz authored Dec 2, 2023
1 parent 988dffe commit 66c9151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dyson_local/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def _callback(address: str) -> None:
except DysonInvalidCredential:
raise InvalidAuth
except DysonException as err:
_LOGGER.debug("Failed to connect to device: %s", err)
_LOGGER.debug(f"Failed to connect to device: {err.__name__}, {err}")
raise CannotConnect


Expand Down

0 comments on commit 66c9151

Please sign in to comment.