Skip to content

Commit 0e23dcb

Browse files
committed
address review
1 parent b7b0d29 commit 0e23dcb

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

pymongo/asynchronous/pool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,6 @@ def _handle_connection_error(self, error: BaseException) -> None:
10371037
# End of file errors are excluded, because the server may have disconnected
10381038
# during the handshake.
10391039
if not isinstance(error.__cause__, (ssl.SSLEOFError, ssl.SSLZeroReturnError)):
1040-
print("Ignoring root error", error.__cause__, type(error.__cause__)) # noqa: T201
10411040
return
10421041
error._add_error_label("SystemOverloadedError")
10431042
error._add_error_label("RetryableError")

pymongo/synchronous/pool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,6 @@ def _handle_connection_error(self, error: BaseException) -> None:
10331033
# End of file errors are excluded, because the server may have disconnected
10341034
# during the handshake.
10351035
if not isinstance(error.__cause__, (ssl.SSLEOFError, ssl.SSLZeroReturnError)):
1036-
print("Ignoring root error", error.__cause__, type(error.__cause__)) # noqa: T201
10371036
return
10381037
error._add_error_label("SystemOverloadedError")
10391038
error._add_error_label("RetryableError")

0 commit comments

Comments
 (0)