Skip to content

Commit 15278de

Browse files
committed
Extra data
1 parent f27b893 commit 15278de

File tree

1 file changed

+15
-1
lines changed
  • packages/integration-tests/suites/public-api/extraerrordata/depth-option

1 file changed

+15
-1
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
try {
2-
throw new Error('test_simple_error');
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;
317
} catch (err) {
418
Sentry.captureException(err);
519
}

0 commit comments

Comments
 (0)