summaryrefslogtreecommitdiff
path: root/src/waitress/channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/waitress/channel.py')
-rw-r--r--src/waitress/channel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waitress/channel.py b/src/waitress/channel.py
index 3430481..d91d0a1 100644
--- a/src/waitress/channel.py
+++ b/src/waitress/channel.py
@@ -120,7 +120,7 @@ class HTTPChannel(wasyncore.dispatcher):
if self.adj.log_socket_errors:
self.logger.exception("Socket error")
self.will_close = True
- except Exception:
+ except Exception: # pragma: nocover
self.logger.exception("Unexpected exception when flushing")
self.will_close = True