Skip to content

Commit

Permalink
Broaden exception handling, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Sep 19, 2023
1 parent e07b8f1 commit 15c59f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "viser"
version = "0.1.3"
version = "0.1.4"
description = "3D visualization + Python"
readme = "README.md"
license = { text="MIT" }
Expand Down
2 changes: 1 addition & 1 deletion src/viser/_tunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async def close_writer(writer: asyncio.StreamWriter) -> None:
if not writer.is_closing():
writer.close()
await writer.wait_closed()
except ConnectionResetError:
except ConnectionError:
pass

async def relay(r: asyncio.StreamReader, w: asyncio.StreamWriter) -> None:
Expand Down

0 comments on commit 15c59f7

Please sign in to comment.