Skip to content

Commit b6a5e3f

Browse files
Update sentry_sdk/scope.py
Co-authored-by: Daniel Szoke <[email protected]>
1 parent 278e019 commit b6a5e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def user(self, value):
795795
# type: (Optional[Dict[str, Any]]) -> None
796796
"""When set a specific user is bound to the scope. Deprecated in favor of set_user."""
797797
warnings.warn(
798-
"Setting `Scope.user` directly is deprecated. Please use `Scope.set_user()` instead.",
798+
"The `Scope.user` setter is deprecated in favor of `Scope.set_user()`.",
799799
DeprecationWarning,
800800
stacklevel=2,
801801
)

0 commit comments

Comments
 (0)