Custom Integrations
Add a custom integration to your JavaScript using the following format:
Copied
// All integration that come with an SDK can be found on Sentry.Integrations object
// Custom integration must conform Integration interface: https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts
Sentry.init({
// ...
integrations: [new MyAwesomeIntegration()],
});
- Package:
- npm:@sentry/electron
- Version:
- 5.3.0
- Repository:
- https://github.com/getsentry/sentry-electron