Skip to content

Commit 46a1274

Browse files
committed
more docs
1 parent d06ecf5 commit 46a1274

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/handler_plugins.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,7 @@ end
223223
> If `Retryable.with_context(:default)` fails after all retries, it will re-raise the last exception encountered.
224224
225225
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

Comments
 (0)