Skip to content

Commit 9ca9ec8

Browse files
sentry better start issuing errors
1 parent 82235a2 commit 9ca9ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/util/sentry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const ErrorButton = () => {
1919
Sentry.logger.info('User triggered test error', {
2020
action: 'test_error_button_click',
2121
});
22-
throw new Error('This is your first error!');
22+
Sentry.captureException(new Error('This is your first error!'));
2323
}}
2424
>
2525
Break the world

0 commit comments

Comments
 (0)