Skip to content

Commit b09ff78

Browse files
Do not overwrite default for username with email address in FlaskIntegration (#1873)
This line seems like a copy/paste error, introduced in 4112000. Co-authored-by: Neel Shah <[email protected]>
1 parent a51d615 commit b09ff78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sentry_sdk/integrations/flask.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,5 @@ def _add_user_to_event(event):
261261

262262
try:
263263
user_info.setdefault("username", user.username)
264-
user_info.setdefault("username", user.email)
265264
except Exception:
266265
pass

0 commit comments

Comments
 (0)