capture_exception.sentry
Captures an exception and sends it to Sentry
1 2 | ## S3 method for class 'sentry'
capture_exception(object, exception, extra = NULL)
|
object |
A Sentry client |
exception |
exception to catch |
extra |
set extra context |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.