mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 17:45:50 +03:00
[GH-ISSUE #153] Record the error info for failed task #733
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lufishggg on GitHub (Sep 12, 2021).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/153
Maybe we can record the error info for failed task which is good for debugging and online monitoring
@hibiken commented on GitHub (Sep 12, 2021):
@lufishggg thank you for opening an issue!
Currently,
asynqstores the error message from the last failure (if any) and this is shown in the WebUI.If you need more error info (e.g. entire error history not just the last one, stack trace, etc) and for monitoring/alerting you can probably use an error reporting service (e.g. Bugsnag, Rollbar, Sentry, Airbrake, etc).
Asynq provides
ErrorHandlervia config so you can report all errors to a error reporting service using this hook:@lufishggg commented on GitHub (Sep 14, 2021):
thanks
@hibiken commented on GitHub (Sep 21, 2021):
Closing this, but feel free to reopen if you have further questions or feedback!