Skip to content

Commit bb95fed

Browse files
committed
.
1 parent 86b4978 commit bb95fed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sentry_sdk/integrations/rust_tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def on_event(self, event: str, sentry_span: "SentrySpan") -> None:
182182
elif event_type == EventTypeMapping.Event:
183183
process_event(deserialized_event)
184184

185-
def on_new_span(self, attrs: str, span_id: str) -> "SentrySpan":
185+
def on_new_span(self, attrs: str, span_id: str) -> "Optional[SentrySpan]":
186186
attrs = json.loads(attrs)
187187
metadata = attrs.get("metadata", {})
188188

0 commit comments

Comments
 (0)