Skip to content

Commit 72d9637

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ec7e2d7 commit 72d9637

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/integrations/rust_tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def on_new_span(self, attrs: str, span_id: str) -> "TraceState":
217217
name=sentry_span_name, parent_span=parent_sentry_span
218218
)
219219
sentry_span.set_op("function")
220-
sentry_span.set_origin("origin")
220+
sentry_span.set_origin(self.origin)
221221
else:
222222
sentry_span = parent_sentry_span.start_child(
223223
op="function",

sentry_sdk/integrations/strawberry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def resolve(
351351
if isinstance(self.graphql_span, StreamedSpan):
352352
span = sentry_sdk.traces.start_span(
353353
parent_span=self.graphql_span,
354-
name="resolving {field_path}",
354+
name=f"resolving {field_path}",
355355
)
356356
span.set_op(OP.GRAPHQL_RESOLVE)
357357
span.set_origin(StrawberryIntegration.origin)

0 commit comments

Comments
 (0)