diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 3ae214ae52..5f0e44d5c3 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -705,6 +705,17 @@ Rails | `:message` | The deprecation warning | | `:callstack` | Where the deprecation came from | +Exceptions +---------- + +If an exception happens during any instrumentation the payload will include +information about it. + +| Key | Value | +| ------------------- | -------------------------------------------------------------- | +| `:exception` | An array of two elements. Exception class name and the message | +| `:exception_object` | The exception object | + Creating custom events ----------------------