Skip to content

Commit bf62edc

Browse files
committed
.
1 parent a834583 commit bf62edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ def _matches(rule: "Any", value: "Any") -> bool:
15011501
if _matches(rule, name):
15021502
return True
15031503

1504-
elif isinstance(rule, dict) and rule:
1504+
elif isinstance(rule, dict) and ("name" in rule or "attributes" in rule):
15051505
name_matches = True
15061506
attributes_match = True
15071507

0 commit comments

Comments
 (0)