MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isAlreadyCaptured

Function isAlreadyCaptured

packages/core/src/utils/misc.ts:236–240  ·  view source on GitHub ↗
(exception: unknown)

Source from the content-addressed store, hash-verified

234 * @internal Only considered for internal usage
235 */
236export function isAlreadyCaptured(exception: unknown): boolean | void {
237 try {
238 return (exception as { __sentry_captured__?: boolean }).__sentry_captured__;
239 } catch {} // eslint-disable-line no-empty
240}

Callers 2

checkOrSetAlreadyCaughtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected