Error Tracking
Is there a way to wrap all actions to perform another action (i.e. send a slack message) when errors are thrown?
3 Replies
I suspect you could write a middleware pattern that does a try-catch.
Could you provide a pseudocode example?
Here's one way you could do this: