We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
captureException
1 parent c0cd8fd commit 3fc6eb2Copy full SHA for 3fc6eb2
packages/core/src/exports.ts
@@ -32,6 +32,7 @@ import { Scope } from './scope';
32
*/
33
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
34
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
36
return getCurrentHub().captureException(exception, { captureContext });
37
}
38
0 commit comments