File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -4,16 +4,14 @@ import { ExtraErrorData as ExtraErrorDataIntegration } from "@sentry/integration
44
55Sentry .init ({
66 dsn: " ___PUBLIC_DSN___" ,
7- integrations: [new ExtraErrorDataIntegration (
8- {
7+ integrations: [
8+ new ExtraErrorDataIntegration ( {
99 // Limit of how deep the object serializer should go. Anything deeper than limit will
1010 // be replaced with standard Node.js REPL notation of [Object], [Array], [Function] or
1111 // a primitive value. Defaults to 3.
12- // When changing this value, make sure to update `normalizeDepth` of the whole SDK
13- // to `depth + 1` in order to get it serialized properly - https://docs.sentry.io/platforms/javascript/configuration/options/#normalize-depth
14- depth: number;
15- }
16- )],
12+ depth: number,
13+ }),
14+ ],
1715});
1816```
1917
@@ -32,15 +30,13 @@ Sentry.init({
3230
3331Sentry .init ({
3432 dsn: " ___PUBLIC_DSN___" ,
35- integrations: [new Sentry.Integrations.ExtraErrorData (
36- {
33+ integrations: [
34+ new Sentry.Integrations.ExtraErrorData ( {
3735 // Limit of how deep the object serializer should go. Anything deeper than limit will
3836 // be replaced with standard Node.js REPL notation of [Object], [Array], [Function] or
3937 // a primitive value. Defaults to 3.
40- // When changing this value, make sure to update `normalizeDepth` of the whole SDK
41- // to `depth + 1` in order to get it serialized properly - https://docs.sentry.io/platforms/javascript/configuration/options/#normalize-depth
42- depth: number;
43- }
44- )],
38+ depth: number,
39+ })
40+ ],
4541});
4642```
You can’t perform that action at this time.
0 commit comments