Skip to content

Commit

Permalink
fix: log message when freshen fails (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Sep 24, 2022
1 parent ddc0457 commit 8365937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bleak_retry_connector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ async def get_bluez_device(
return ble_device_from_properties(
best_path, properties[best_path][defs.DEVICE_INTERFACE]
)
except Exception: # pylint: disable=broad-except
except Exception as ex: # pylint: disable=broad-except
_LOGGER.debug(
"%s - %s: Freshen failed for %s", name, device_path, exc_info=True
"%s - %s: Freshen failed: %s", name, device_path, ex, exc_info=True
)

return None
Expand Down

0 comments on commit 8365937

Please sign in to comment.