Skip to content

Commit 4734cd7

Browse files
authored
missing namespace
1 parent 5fabc3d commit 4734cd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/python/migration/2.x-to-3.x.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ If you start a span, it will automatically become the child of the currently act
8686
```python
8787
with sentry_sdk.start_span(name="parent"):
8888
with sentry_sdk.start_span(name="child-of-parent"):
89-
with new_trace():
89+
with sentry_sdk.new_trace():
9090
# The first span started in this context manager will become
9191
# a new transaction (root span) with its own trace
9292
with sentry_sdk.start_span(name="new-parent"):

0 commit comments

Comments
 (0)