@sentry/nextjs
Version:
Official Sentry SDK for Next.js
19 lines (15 loc) • 482 B
JavaScript
import { Integrations } from '@sentry/node';
const { OnUncaughtException: OriginalOnUncaughtException } = Integrations;
/**
* A custom OnUncaughtException integration that does not exit by default.
*/
class OnUncaughtException extends OriginalOnUncaughtException {
constructor(options) {
super({
exitEvenIfOtherHandlersAreRegistered: false,
...options,
});
}
}
export { OnUncaughtException };
//# sourceMappingURL=onUncaughtExceptionIntegration.js.map