Skip to content

Commit

Permalink
misc: Add note regarding fetch API rethrow (#2740)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Jul 14, 2020
1 parent d409dc6 commit bc52769
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/utils/src/instrument.ts
Expand Up @@ -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.
throw error;
},
);
Expand Down

0 comments on commit bc52769

Please sign in to comment.