Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 7a4d51e

Browse files
committed
Ignore truly exceptional context
1 parent a370261 commit 7a4d51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http20/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def close(self):
248248
# Send GoAway frame to the server
249249
try:
250250
self._send_cb(GoAwayFrame(0), True)
251-
except Exception as e:
251+
except Exception as e: # pragma: no cover
252252
log.warn("GoAway frame could not be sent: %s" % e)
253253

254254
if self._sock is not None:

0 commit comments

Comments
 (0)