How do I find what kind of exception is thrown.

Paul Rubin no.email at nospam.invalid
Tue Sep 5 22:21:21 EDT 2017


Antoon Pardon <antoon.pardon at vub.be> writes:
> Now I found the following in the logs: [Errno 131] Connection reset by peer
> This is a problem I would like to catch earlier

I'd expect that's an IOError thrown by the socket library.  You could
just let it go uncaught and see what you get in the crash dump.




More information about the Python-list mailing list