Skip to content

Commit

Permalink
fix: adjust SentryTracingExtension deprecation warning (#3589)
Browse files Browse the repository at this point in the history
The deprecation warning advises users to upgrade to `sentry>=1.32.0`, when in fact, the Sentry SDK package is named [`sentry-sdk`](https://pypi.org/project/sentry-sdk/), not `sentry`.

Update the message to advise users to upgrade to `sentry-sdk>=1.32.0`, instead.
  • Loading branch information
szokeasaurusrex authored Aug 7, 2024
1 parent f4ecb67 commit c51b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry/extensions/tracing/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(
execution_context: Optional[ExecutionContext] = None,
) -> None:
warnings.warn(
"The Sentry tracing extension is deprecated, please update to sentry>=1.32.0",
"The Sentry tracing extension is deprecated, please update to sentry-sdk>=1.32.0",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit c51b339

Please sign in to comment.