We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e102a commit be1f8d2Copy full SHA for be1f8d2
1 file changed
sentry_sdk/client.py
@@ -1214,7 +1214,7 @@ def _capture_telemetry(
1214
# Spans can't be dropped in before_send_span by design. They can
1215
# be altered though (e.g. to sanitize). Only allow changes to
1216
# name and attributes.
1217
- if isinstance(serialized, dict) and serialized and "name" in serialized:
+ if isinstance(serialized, dict) and "name" in serialized:
1218
telemetry.name = serialized["name"] # type: ignore[typeddict-item]
1219
telemetry._attributes = {}
1220
for k, v in (serialized.get("attributes") or {}).items():
0 commit comments