Skip to content

Commit ce8017a

Browse files
authored
Simplify condition for showing report dialog
Refactor condition to show user feedback modal.
1 parent 8078814 commit ce8017a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/react-shared-libraries/src/sentry/initialize.sentry.next.basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const initializeSentryBasic = (environment: string, dsn: string, extensio
5050
}
5151

5252
// Show user feedback modal if not filtered
53-
if (event.exception && event.event_id) {
53+
if (event.event_id) {
5454
Sentry.showReportDialog({ eventId: event.event_id });
5555
}
5656

0 commit comments

Comments
 (0)