Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error handling of automations #20

Open
2 tasks done
fsbraun opened this issue Nov 28, 2021 · 2 comments
Open
2 tasks done

Error handling of automations #20

fsbraun opened this issue Nov 28, 2021 · 2 comments

Comments

@fsbraun
Copy link
Owner

fsbraun commented Nov 28, 2021

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

  • Configurable way to handle errors, e.g., mailing a traceback to admins.
  • A view that allows only inspection of automations which stopped after creating an error.

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

@jacklinke
Copy link
Contributor

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

@fsbraun
Copy link
Owner Author

fsbraun commented Nov 28, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants