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

When a background job fails, alert someone #19

Open
dmcbride opened this issue Nov 10, 2016 · 0 comments
Open

When a background job fails, alert someone #19

dmcbride opened this issue Nov 10, 2016 · 0 comments

Comments

@dmcbride
Copy link
Member

Around https://github.com/Kantigen/ka-server/blob/master/lib/KA/App/MQWorker/Daemon.pm#L88 we try to run a job, and, if an exception is thrown, we bury the job and continue.

At the very least, the failed job should be logged: the exception, call trace (if possible), and the job payload. And anything else that may come in handy (number of timeouts, reserves, kicks, etc.).

Better yet would be to somehow email the admins, whether in-game or not, with the details, so that we know to look for it.

In theory, this should never happen - but that makes it all that much more important to throw it up in our faces if it does happen. We may not notice otherwise.

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

No branches or pull requests

1 participant