Skip to content

Commit

Permalink
Merge pull request #527 from puddly/rc
Browse files Browse the repository at this point in the history
0.34.8 Release
  • Loading branch information
puddly authored Feb 5, 2023
2 parents 9263eb1 + e1b489e commit f16288d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bellows/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MAJOR_VERSION = 0
MINOR_VERSION = 34
PATCH_VERSION = "7"
PATCH_VERSION = "8"
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
__version__ = f"{__short_version__}.{PATCH_VERSION}"
4 changes: 3 additions & 1 deletion bellows/uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ def connection_lost(self, exc):
# callback to stop itself, which will cause the a future to propagate a
# `CancelledError` into the active event loop, breaking everything!
if self._startup_reset_future:
self._startup_reset_future.set_exception(exc)
self._startup_reset_future.set_exception(
exc or OSError("Server closed connection")
)

if self._connection_done_future:
self._connection_done_future.set_result(exc)
Expand Down

0 comments on commit f16288d

Please sign in to comment.