@sentry/nextjs
Version:
Official Sentry SDK for Next.js
21 lines (16 loc) • 563 B
JavaScript
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