Title: [Stack Traces] Filename prepended with "async " causes issues · Issue #7128 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Stack Traces] Filename prepended with "async " causes issues · Issue #7128 · getsentry/sentry-javascript
X Title: [Stack Traces] Filename prepended with "async " causes issues · Issue #7128 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7128
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Stack Traces] Filename prepended with \"async \" causes issues","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### 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.\n\n@sentry/browser\n\n### SDK Version\n\nlatest\n\n### Framework Version\n\nbrowser frameworks\n\n### Link to Sentry event\n\n_No response_\n\n### SDK Setup\n\nn/a\n\n### Steps to Reproduce\n\nPlease see attached Zendesk tickets for more details\r\n\r\nhttps://sentry.zendesk.com/agent/tickets/79456\r\nhttps://sentry.zendesk.com/agent/tickets/78491\r\n\r\n1. SDK captures an error\r\n2. Stack trace frame is parsed, filename includes \"async ...\"\r\n3. When Sentry attempts to resolve sourcemaps or fetch source context this fails because of the prepended string \"async \"\r\n\r\nIn our Node.js SDK we already handle this: https://github.com/getsentry/sentry-javascript/blob/17db8e2f103ce7cd775967ae1cc5716e153e0537/packages/utils/src/stacktrace.ts#L115\n\n### Expected Result\n\nWe parse the line of the stack trace and make it Sentry compatible\n\n### Actual Result\n\nSee the following processing error: \r\n\r\n> source code was not found (the given url includes \"async https://....\") \r\n\r\n\r\n--- \r\n\r\ncc @AbhiPrasad ","author":{"url":"https://github.com/souredoutlook","@type":"Person","name":"souredoutlook"},"datePublished":"2023-02-09T17:51:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/7128"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a4b38f5-4a72-42e6-ef41-1b7b81c41a2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD66:3273D0:1C340D:25A5AD:6B04E5F8 |
| html-safe-nonce | bbe5d849f3e237041d28ec0d8b9b7fa6d30f75f3b34f9b6b92b3bbd2917fd70a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDY2OjMyNzNEMDoxQzM0MEQ6MjVBNUFEOjZCMDRFNUY4IiwidmlzaXRvcl9pZCI6IjY2NTcxMDYzMjQ1NTM1MjQ3MjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2d56140fbc794134c5a53a6f8deb9060a28e91ebf1f837bbd49244f2484ec0e4 |
| hovercard-subject-tag | issue:1578344016 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/7128/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3fc21167c15cb290fa7842ed6f0d7c009f0c4eaf91e235a38c6135f3feaa1269/getsentry/sentry-javascript/issues/7128 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fc21167c15cb290fa7842ed6f0d7c009f0c4eaf91e235a38c6135f3feaa1269/getsentry/sentry-javascript/issues/7128 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | souredoutlook |
| hostname | github.com |
| expected-hostname | github.com |
| None | 970f03f35f02bb123d2b6f1884601d89a570dc02e5ef9612b1b6ca5c033b1796 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ebcec4199c8521b643c068ef118a1ba9a43b678a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width