Skip to content

Commit f277518

Browse files
author
Luca Forstner
committed
rm unnecessary optional chain
1 parent e153ce2 commit f277518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/integrations/eventFilters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function _getEventFilterUrl(event: Event): string | null {
213213
// The root always comes last in linked exceptions
214214
const rootException = [...(event.exception?.values ?? [])]
215215
.reverse()
216-
?.find(value => value.mechanism?.parent_id === undefined && value.stacktrace?.frames?.length);
216+
.find(value => value.mechanism?.parent_id === undefined && value.stacktrace?.frames?.length);
217217
const frames = rootException?.stacktrace?.frames;
218218
return frames ? _getLastValidUrl(frames) : null;
219219
} catch (oO) {

0 commit comments

Comments
 (0)