GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(utils): Handle when requests get aborted in fetch instrumentation by AbhiPrasad · Pull Request #13202 · getsentry/sentry-javascript Conversation
Contributor
resolves #13187 WIP as we get better test cases
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
3 tasks done
|
There was an error while loading. Please reload this page.
size-limit report 📦
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f260a36 to
f9e328c
Compare
f9e328c to
7da58d1
Compare
|
okay I think the e2e test covers it, but we probably also want some tests in https://github.com/getsentry/sentry-javascript/tree/develop/dev-packages/browser-integration-tests to validate in firefox and safari as well. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| // NOTE: If you are a Sentry user, and you are seeing this stack frame, | ||
| // it means the sentry.javascript SDK caught an error invoking your application code. | ||
| // This is expected behavior and NOT indicative of a bug with sentry.javascript. | ||
| throw error; |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@lforst this is a breaking change for apps that do not handle fetch exceptions :( as they did not get the exceptions before and now they do....
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate? Ideally in a new issue. I do not think this alters behaviour. This actually fixes a bug where we swallowed errors.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Fetch resolves before response has been received; response is undefined
There was an error while loading. Please reload this page.