-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK
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? 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
Metadata
Metadata
Assignees
Labels
Package: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK