It is possible to add OnFailure hook? #1280

Open
opened 2019-04-28 03:30:18 +00:00 by hyxqshk · 0 comments

Hello~

We report the monitor metrics by hook Before() and After(), but it seems After() only executed on success case.

It is any possibility to add a new hook, it executed on failure case?
Or have any better way to report these metrics?

Hello~ We report the monitor metrics by hook `Before()` and `After()`, but it seems `After()` only executed on success case. It is any possibility to add a new hook, it executed on failure case? Or have any better way to report these metrics?
lunny added this to the 1.1.1 milestone 2020-03-01 02:26:39 +00:00
lunny modified the milestone from 1.1.1 to (deleted) 2021-06-08 12:06:25 +00:00
lunny removed this from the (deleted) milestone 2023-07-26 01:23:28 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xorm/xorm#1280
No description provided.