Skip to content

Commit

Permalink
fix: handle AuthError while probing for adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed May 4, 2024
1 parent e3c82a5 commit 6062456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bluetooth_adapters/dbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def _get_dbus_managed_objects() -> dict[str, Any]:
try:
bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
except AuthError as ex:
_LOGGER.debug(
_LOGGER.warning(
"DBus authentication error; make sure the DBus socket "
"is available and the user has the correct permissions: %s",
ex,
Expand Down

0 comments on commit 6062456

Please sign in to comment.