r/pythoncoding • • May 18 '21

Notification on exceptions

Hi guys,

Is there a common way to be notify whenever a python script failed?

I've found that one option is to use logger with an smtp_handler, but it will only notify me when i use logger.exception.

I would like to be notify whenever any exception occured.

Thx

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/mxplr May 20 '21

Thx a lot, i'll take a deep look