fsbraun / django-automations

Processes and automations for your Django project
MIT License
30 stars 6 forks source link

Error handling of automations #20

Open fsbraun opened 2 years ago

fsbraun commented 2 years ago

I'm always frustrated when an automation stops with an error which needs debugging.

I am planning to work on a solution soon. Input, however, is strongly welcome!

jacklinke commented 2 years ago

Ooh, good stuff. I'll think through this as well and update with any thoughts.

fsbraun commented 2 years ago

For the first item: Just having started looking at it the obvious and simple solution might be using a logger.exception call which can be configured freely, e.g., send an email to admins or whatever. Also, the emails can include the traceback. What do you think?