onUncaughtExceptionIntegration.js 411 B

12345678910111213141516
  1. import { Integrations } from '@sentry/node';
  2. /**
  3. * A custom OnUncaughtException integration that does not exit by default.
  4. */
  5. class OnUncaughtException extends Integrations.OnUncaughtException {
  6. constructor(options) {
  7. super({
  8. exitEvenIfOtherHandlersAreRegistered: false,
  9. ...options,
  10. });
  11. }
  12. }
  13. export { OnUncaughtException };
  14. //# sourceMappingURL=onUncaughtExceptionIntegration.js.map