mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Document how exceptions are handled in instrumentation
This commit is contained in:
parent
7f963b2c95
commit
f5d5cffd90
1 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue