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 6233fdc commit dcf2fdaCopy full SHA for dcf2fda
dashboard/api.py
@@ -730,8 +730,8 @@ def refresh_user_data(user_id, provider):
730
# get the credentials for the current user for edX
731
try:
732
user_social = get_social_auth(user, provider)
733
- except:
734
- log.exception('user "%s" does not have edX credentials', user.username)
+ except ObjectDoesNotExist:
+ log.info('No social auth for %s for user %s', provider, user.username)
735
return
736
737
0 commit comments