-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
ErrorsImprovementPackage: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK
Description
Description
The Sentry Chief Product Officer has brought to our attention that Fetch errors sometimes suck. (example that will expire in 90 days)
We technically have a stack trace here but sourcemaps are broken so the user has basically no idea what fetch request failed. It's very hard to gauge from breadcrumbs what exact request failed.
Side note, the fetch call that failed looked like fetch("")
. We render this as in the product, you guessed it ""
. Which is crap because it actually means the request went to the current route. We should at least coerce that string to URL(fetchTarget, window.location.href).toString()
in the SDK.
Santas
Metadata
Metadata
Assignees
Labels
ErrorsImprovementPackage: browserIssues related to the Sentry Browser SDKIssues related to the Sentry Browser SDK