Skip to content

Commit

Permalink
fix: ensure client is returned when debug is off (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 22, 2022
1 parent 867a7f8 commit 7ddcac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bleak_retry_connector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def _raise_if_needed(name: str, description: str, exc: Exception) -> None:
attempt,
rssi,
)
return client
return client
# Ensure the disconnect callback
# has a chance to run before we try to reconnect
await asyncio.sleep(0)
Expand Down

0 comments on commit 7ddcac8

Please sign in to comment.