Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/cloudflare
SDK Version
9.40.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
export const CallAgent = CallAgentBase;
export const CallAgent = Sentry.instrumentDurableObjectWithSentry(
() => ({
dsn: "REDACTED",
tracesSampleRate: 1.0,
}),
CallAgentBase
);
I get no errors with the first line, I get
✘ [ERROR] Uncaught Error: #<Promise>
✘ [ERROR] Uncaught Error: #<Promise>
✘ [ERROR] Uncaught Error: #<Promise>
✘ [ERROR] Uncaught Error: #<Promise>
✘ [ERROR] Uncaught Error: #<Promise>
From wrangler with the second line.
Additional context is that this is wrapping a cloudflare agent (which is just a DO)
Expected Result
No errors when using instrumentDurableObjectWithSentry
Actual Result
Uncaught error
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/cloudflare
SDK Version
9.40.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
I get no errors with the first line, I get
From wrangler with the second line.
Additional context is that this is wrapping a cloudflare agent (which is just a DO)
Expected Result
No errors when using
instrumentDurableObjectWithSentryActual Result
Uncaught error