UNPKG

@sentry/nextjs

Version:
19 lines (15 loc) • 482 B
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