File tree Expand file tree Collapse file tree 2 files changed +8
-23
lines changed Expand file tree Collapse file tree 2 files changed +8
-23
lines changed Original file line number Diff line number Diff line change 1
1
try {
2
- const error = new Error ( 'simple_extended_error' ) ;
3
- error . foo = {
4
- bar : {
5
- baz : {
6
- boo : {
7
- bam : {
8
- bat : {
9
- bingo : 'this is a very deeply nested field' ,
10
- } ,
11
- } ,
12
- } ,
13
- } ,
14
- } ,
15
- } ;
16
- throw error ;
2
+ throw Error ( 'test_simple_error' ) ;
17
3
} catch ( err ) {
18
4
Sentry . captureException ( err ) ;
19
5
}
Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/browser' ;
2
- import { ExtraErrorData as ExtraErrorDataIntegration } from '@sentry/integrations' ;
2
+ // import { ExtraErrorData as ExtraErrorDataIntegration } from '@sentry/integrations';
3
3
4
4
window . Sentry = Sentry ;
5
5
6
6
Sentry . init ( {
7
7
dsn :
'https://[email protected] /1337' ,
8
- integrations : integrations => [
9
- ...integrations ,
10
- new ExtraErrorDataIntegration ( {
11
- depth : 10 ,
12
- } ) ,
13
- ] ,
14
- normalizeDepth : 3 ,
8
+ // integrations: [
9
+ // new ExtraErrorDataIntegration({
10
+ // depth: 10,
11
+ // }),
12
+ // ],
13
+ // normalizeDepth: 3,
15
14
} ) ;
You can’t perform that action at this time.
0 commit comments