Skip to content

Commit 3192ca4

Browse files
authored
fix(detectors): Fix type error in uncompressed asset detector (#95385)
Fixes SENTRY-FOR-SENTRY-62R1
1 parent f13f8c7 commit 3192ca4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/sentry/performance_issues/detectors/uncompressed_asset_detector.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ def is_event_eligible(cls, event: dict[str, Any], project: Project | None = None
143143
(
144144
tag[1]
145145
for tag in tags
146-
if tag is not None and tag[0] == "browser.name" and len(tag) == 2
146+
if tag is not None
147+
and tag[0] == "browser.name"
148+
and len(tag) == 2
149+
and tag[1] is not None
147150
),
148151
"",
149152
)

0 commit comments

Comments
 (0)