We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e88d4a7 commit 3a810a1Copy full SHA for 3a810a1
1 file changed
instrumentation-client.ts
@@ -6,6 +6,12 @@ Sentry.init({
6
Sentry.extraErrorDataIntegration({ depth: 10 }),
7
Sentry.zodErrorsIntegration(),
8
],
9
+ beforeSend: function (event, hint) {
10
+ if (hint.syntheticException?.name === "ChunkLoadError") {
11
+ event.fingerprint = ["ChunkLoadError"];
12
+ }
13
+ return event;
14
+ },
15
// Adds request headers and IP for users
16
sendDefaultPii: true,
17
});
0 commit comments