Skip to content

Commit 3fc6eb2

Browse files
committed
disable eslint rule in core's own captureException function
1 parent c0cd8fd commit 3fc6eb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/exports.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import { Scope } from './scope';
3232
*/
3333
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
3434
export function captureException(exception: any, captureContext?: CaptureContext): ReturnType<Hub['captureException']> {
35+
// eslint-disable-next-line @sentry-internal/sdk/captureException-from-core -- This is the one place this is allowed
3536
return getCurrentHub().captureException(exception, { captureContext });
3637
}
3738

0 commit comments

Comments
 (0)