Skip to content

Commit 49149f2

Browse files
committed
misc: Add note regarding fetch API rethrow
1 parent fee92a5 commit 49149f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/utils/src/instrument.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ function instrumentFetch(): void {
169169
endTimestamp: Date.now(),
170170
error,
171171
});
172+
// NOTE: If you are a Sentry user, and you are seeing this stack frame,
173+
// it means the sentry.javascript SDK caught an error invoking your application code.
174+
// This is expected behavior and NOT indicative of a bug with sentry.javascript.
172175
throw error;
173176
},
174177
);

0 commit comments

Comments
 (0)