Discussion about this post

User's avatar
Ranudar's avatar

Thank you for the interesting article! I think I can use this well.

A short question though: In this sentences: "If sys.excepthook != sys.excepthook`, then the function has already been replaced."

Should it not compare to the sys.__excepthook__ function?

Best!

Expand full comment
André Roberge's avatar

Just use friendly/friendly-traceback and let it take care of it! ;-) https://github.com/friendly-traceback/friendly

Expand full comment
3 more comments...

No posts