-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Closed
Copy link
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Product Owner