Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 306 Bytes

sentry-integration.md

File metadata and controls

12 lines (10 loc) · 306 Bytes

Sentry SDK integration

Cub Widget may use Sentry SDK to annotate exceptions with user data and widget-related breadcrumbs. To enable Sentry SDK integration, pass the global Sentry object during the widget setup in the siteSentry property:

cub.start({
  ...
  siteSentry: window.Sentry
});