[issue1230540] sys.excepthook doesn't work in threads

Decorater report at bugs.python.org
Thu Aug 4 22:55:32 EDT 2016


Decorater added the comment:

Ok, so I just found out you can bypass thread exceptions by wraping the line that actually runs the threads in a try/except block and then using the logging module to log it to a file instead of the console.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1230540>
_______________________________________


More information about the Python-bugs-list mailing list