Skip to content

Commit dc9dd33

Browse files
committed
Fixed import error
1 parent d604520 commit dc9dd33

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/node/src/integrations/onuncaughtexception.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ import { Integration, Severity } from '@sentry/types';
33
import { logger } from '@sentry/utils';
44

55
import { NodeClient } from '../client';
6-
import { logAndExitProcess } from '../handlers';
76
import { isAutosessionTrackingEnabled } from '../sdk';
8-
7+
import { logAndExitProcess } from './utils/errorhandling';
98

109
/** Global Promise Rejection handler */
1110
export class OnUncaughtException implements Integration {

packages/node/src/integrations/onunhandledrejection.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ import { getCurrentHub, Scope } from '@sentry/core';
22
import { Integration } from '@sentry/types';
33
import { consoleSandbox } from '@sentry/utils';
44

5-
65
import { NodeClient } from '../client';
7-
import { logAndExitProcess } from './utils/errorhandling';
86
import { isAutosessionTrackingEnabled } from '../sdk';
9-
7+
import { logAndExitProcess } from './utils/errorhandling';
108

119
type UnhandledRejectionMode = 'none' | 'warn' | 'strict';
1210

0 commit comments

Comments
 (0)