Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: Add note regarding fetch API rethrow #2740

Merged
merged 1 commit into from
Jul 14, 2020
Merged

misc: Add note regarding fetch API rethrow #2740

merged 1 commit into from
Jul 14, 2020

Conversation

kamilogorek
Copy link
Contributor

No description provided.

@kamilogorek kamilogorek requested a review from a team July 14, 2020 11:04
@getsentry-bot
Copy link
Contributor

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 17.1846 kB) (ES6: 16.2871 kB)

📖 ✅ TSLint passed

Generated by 🚫 dangerJS against 49149f2

@@ -169,6 +169,9 @@ function instrumentFetch(): void {
endTimestamp: Date.now(),
error,
});
// 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn’t say this is “expected behaviour”

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in the SDK itself though. We have the exact same note in 2 different places (browser/src/helpers.ts) since raven.js times 😅

@kamilogorek kamilogorek merged commit bc52769 into master Jul 14, 2020
@kamilogorek kamilogorek deleted the fetch-note branch July 14, 2020 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants