Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.
@sentry/browser
SDK Version
latest
Framework Version
browser frameworks
Link to Sentry event
No response
SDK Setup
n/a
Steps to Reproduce
Please see attached Zendesk tickets for more details
https://sentry.zendesk.com/agent/tickets/79456
https://sentry.zendesk.com/agent/tickets/78491
- SDK captures an error
- Stack trace frame is parsed, filename includes "async ..."
- When Sentry attempts to resolve sourcemaps or fetch source context this fails because of the prepended string "async "
In our Node.js SDK we already handle this:
|
const FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/; |
Expected Result
We parse the line of the stack trace and make it Sentry compatible
Actual Result
See the following processing error:
source code was not found (the given url includes "async https://....")
cc @AbhiPrasad
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g.
bundle.tracing.min.js) in your SDK setup.@sentry/browser
SDK Version
latest
Framework Version
browser frameworks
Link to Sentry event
No response
SDK Setup
n/a
Steps to Reproduce
Please see attached Zendesk tickets for more details
https://sentry.zendesk.com/agent/tickets/79456
https://sentry.zendesk.com/agent/tickets/78491
In our Node.js SDK we already handle this:
sentry-javascript/packages/utils/src/stacktrace.ts
Line 115 in 17db8e2
Expected Result
We parse the line of the stack trace and make it Sentry compatible
Actual Result
See the following processing error:
cc @AbhiPrasad