We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802daf9 commit f5392beCopy full SHA for f5392be
mapswipe_workers/python_scripts/add_usernames_in_firebase.py
@@ -16,7 +16,7 @@ def update_username(uid):
16
ref = fb_db.reference(f"v2/users/{user.uid}/username")
17
ref.set(username)
18
logger.info(f"updated username for user {uid}: {username}")
19
- except Exception:
+ except auth.UserNotFoundError:
20
logger.info(f"could not find user {uid} in firebase to update username.")
21
22
0 commit comments