Skip to content

Commit

Permalink
Merge pull request #170 from icgood/send-exc
Browse files Browse the repository at this point in the history
Fix warning logs on closed connection writes
  • Loading branch information
icgood authored Apr 14, 2024
2 parents cfe3579 + 1d5074d commit b2e4c65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}

Expand Down
2 changes: 1 addition & 1 deletion pymap/__about__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#: The package version string.
__version__ = '0.36.6'
__version__ = '0.36.7'
2 changes: 1 addition & 1 deletion pymap/imap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ async def read_idle_done(self, cmd: IdleCommand) -> bool:
return ok

async def write_response(self, resp: Response) -> None:
await resp.async_write(self.writer)
try:
await resp.async_write(self.writer)
await self.writer.drain()
except ConnectionError:
pass
Expand Down

0 comments on commit b2e4c65

Please sign in to comment.