Merge pull request #39875 from hennevogel/guides/instrumentation-exceptions

Document how exceptions are handled in instrumentation [ci skip]
This commit is contained in:
Vipul A M 2020-07-19 00:35:22 +05:30 committed by GitHub
commit e70023c0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

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