Notification of event failures
complete
Matt Sodomsky
complete
https://tasks.mechanic.dev/error-reporter
https://learn.mechanic.dev/platform/error-handling
Isaac Bowen
Merged in a post:
Add a mechanic/errors topic
P
Patou Tech
I'd like to create a task that will email me details about any error that I generate using the
{% error %}
tag.I could create a custom task to do the emailing and before any
{% error %}
tag I could have it trigger the custom task, however that means updating a lot of tasks with this new code.Would it be possible that Mechanic could trigger a standard error topic and provide the error JSON and related event/action data? That way I could leave all my existing task code and just hook into the topic.
C
Charles Akben-Marchand
Would this also work for error actions programmed into a task (e.g. if I program my task to detect that field X has an invalid value)?
Myles Marcus
👍
M
Magnus Kromann
👍
Brad H (Tekhaus)
Or maybe provide the ability to configure an external log management tool (like PaperTrail - https://www.papertrail.com/), where task run logs can be filtered, searched, and have alerts configured.
M
Matt Scheurich
I think https://mechanic.canny.io/futures/p/basic-analytics-dashboard also addresses this as well, but I agree that it would be great to receive email notifications on errors as they happen, or to have errors surfaced better in the UI so they can be reviewed/resolved.
M
Matt Scheurich
https://mechanic.canny.io/futures/p/ui-update also addresses this point as well to better surface in UI. Upvote!
Matt Sodomsky
under review