onUncaughtExceptionIntegration.js 492 B

123456789101112131415161718
  1. Object.defineProperty(exports, '__esModule', { value: true });
  2. const node = require('@sentry/node');
  3. /**
  4. * A custom OnUncaughtException integration that does not exit by default.
  5. */
  6. class OnUncaughtException extends node.Integrations.OnUncaughtException {
  7. constructor(options) {
  8. super({
  9. exitEvenIfOtherHandlersAreRegistered: false,
  10. ...options,
  11. });
  12. }
  13. }
  14. exports.OnUncaughtException = OnUncaughtException;
  15. //# sourceMappingURL=onUncaughtExceptionIntegration.js.map