UNPKG

@sentry/nextjs

Version:
21 lines (16 loc) • 563 B
Object.defineProperty(exports, '__esModule', { value: true }); const node = require('@sentry/node'); const { OnUncaughtException: OriginalOnUncaughtException } = node.Integrations; /** * A custom OnUncaughtException integration that does not exit by default. */ class OnUncaughtException extends OriginalOnUncaughtException { constructor(options) { super({ exitEvenIfOtherHandlersAreRegistered: false, ...options, }); } } exports.OnUncaughtException = OnUncaughtException; //# sourceMappingURL=onUncaughtExceptionIntegration.js.map