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
Copy file name to clipboardExpand all lines: docs/handler_plugins.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -223,3 +223,7 @@ end
223
223
> If `Retryable.with_context(:default)` fails after all retries, it will re-raise the last exception encountered.
224
224
225
225
See the source code at `lib/hooks/utils/retry.rb` for more details on how `Retryable.with_context(:default)` works.
226
+
227
+
### `#failbot` and `#stats`
228
+
229
+
The `failbot` and `stats` methods are available in all handler plugins. They are used to report errors and send statistics, respectively. These are custom methods and you can learn more about them in the [Instrumentation Plugins](instrument_plugins.md) documentation.
0 commit comments