You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
I develop an application that writes for every interaction events to a database. In case of an error an error event is written to the database. It would be nice to intercept the miranum worker execution in case of an error and add my custom logic to execution chain.
At the moment I have to catch every exception, run the database operation and rethrow the exception again for miranum to work properly.
Describe the solution you'd like
Similar to the miranum worker interceptors I would like to intercept exceptions my code throw. I am thinking of something like the @ExceptionHandler annotation in spring rest.
This could be very useful in case of generic errors I would like to handle always the same way.
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
I develop an application that writes for every interaction events to a database. In case of an error an error event is written to the database. It would be nice to intercept the miranum worker execution in case of an error and add my custom logic to execution chain.
At the moment I have to catch every exception, run the database operation and rethrow the exception again for miranum to work properly.
Describe the solution you'd like
Similar to the miranum worker interceptors I would like to intercept exceptions my code throw. I am thinking of something like the
@ExceptionHandler
annotation in spring rest.This could be very useful in case of generic errors I would like to handle always the same way.
Additional context
The text was updated successfully, but these errors were encountered: