Skip to content

Commit

Permalink
more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed Aug 28, 2020
1 parent 411e41a commit c0c9234
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/urllib3/connectionpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ def _make_request(
except BrokenPipeError:
# Python 3
pass
except (IOError, SocketError) as e:
except Exception as e:
print("ERROR=", e, e.args, "errno=", getattr(e, "errno", None))
# Python 2, Windows
# EPIPE and ESHUTDOWN are BrokenPipeError on Python 2, and EPROTOTYPE is needed on macOS
# https://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/
Expand Down

0 comments on commit c0c9234

Please sign in to comment.