1
0
Fork 0
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:
Henne Vogelsang 2020-07-18 18:00:35 +02:00
parent 7f963b2c95
commit f5d5cffd90
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0

View file

@ -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
----------------------