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

Function onRejected

packages/cloudflare/src/wrapMethodWithSentry.ts:151–160  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

149 };
150
151 const onRejected = (e: unknown) => {
152 captureException(e, {
153 mechanism: {
154 type: 'auto.faas.cloudflare.durable_object',
155 handled: false,
156 },
157 });
158 waitUntil?.(teardown());
159 throw e;
160 };
161
162 if (!wrapperOptions.spanName) {
163 try {

Callers 2

wrappedFunctionFunction · 0.85
executeSpanFunction · 0.85

Calls 3

captureExceptionFunction · 0.90
waitUntilFunction · 0.85
teardownFunction · 0.70

Tested by

no test coverage detected