Official Sentry SDK for Browsers
To use this SDK, call
Sentry.init(options) as early as possible after loading the page. This will initialize the SDK
and hook into the environment. Note that you can turn off almost all side effects using the respective options.
To set context information or send manual events, use the exported functions of
@sentry/browser. Note that these
functions will not perform any action before you have called
;// Set user information, as well as tags and further extrasSentry;// Add a breadcrumb for future eventsSentry;// Capture exceptions, messages or manual eventsSentry;Sentry;Sentry;