Skip to content

Commit

Permalink
Do not overwrite default for username with email address in FlaskInte…
Browse files Browse the repository at this point in the history
…gration (#1873)

This line seems like a copy/paste error, introduced in 4112000.

Co-authored-by: Neel Shah <neel.shah@sentry.io>
  • Loading branch information
homeworkprod and sl0thentr0py authored Jan 30, 2023
1 parent a51d615 commit b09ff78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sentry_sdk/integrations/flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,5 @@ def _add_user_to_event(event):

try:
user_info.setdefault("username", user.username)
user_info.setdefault("username", user.email)
except Exception:
pass

0 comments on commit b09ff78

Please sign in to comment.