Skip to content

Commit

Permalink
TEMP: Log errors occurring while refreshing user tokens as debug mess…
Browse files Browse the repository at this point in the history
…ages

Temporary solution to avoid spamming Sentry with exceptions like this one https://sentry.galaxyproject.org/organizations/galaxy/issues/125247/events/64073692e52f49afac1f4eb38c174f84/.
  • Loading branch information
kysrpex committed Sep 8, 2023
1 parent 5a131f3 commit 90e7ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/authnz/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def refresh_expiring_oidc_tokens_for_provider(self, trans, auth):
return True
except Exception as e:
msg = f"An error occurred when refreshing user token: {e}"
log.error(msg)
log.debug(msg)
return False

def refresh_expiring_oidc_tokens(self, trans, user=None):
Expand Down

0 comments on commit 90e7ba2

Please sign in to comment.