Skip to content

Commit c6366b4

Browse files
committed
make the errors unhandled
1 parent cef11ad commit c6366b4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

main.js

-7
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,10 @@ const transaction = Sentry.startTransaction({
4545
});
4646

4747
setTimeout(() => {
48-
try {
4948
const rand = Math.floor(Math.random() * 2);
5049
if (rand == 0) {
5150
wowee();
5251
} else {
5352
wave();
5453
}
55-
} catch (e) {
56-
Sentry.captureException(e);
57-
console.log(e);
58-
} finally {
59-
transaction.finish();
60-
}
6154
}, 99);

0 commit comments

Comments
 (0)