Simplify condition for showing report dialog
Refactor condition to show user feedback modal.
This commit is contained in:
parent
8078814211
commit
ce8017a3c6
|
|
@ -50,7 +50,7 @@ export const initializeSentryBasic = (environment: string, dsn: string, extensio
|
|||
}
|
||||
|
||||
// Show user feedback modal if not filtered
|
||||
if (event.exception && event.event_id) {
|
||||
if (event.event_id) {
|
||||
Sentry.showReportDialog({ eventId: event.event_id });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue