Skip to content

Commit

Permalink
Add some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jul 17, 2024
1 parent db4dac4 commit 04fa11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egi_notebooks_hub/egiauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ async def exchange_for_refresh_token(self, access_token):
resp = await http_client.fetch(req)
except HTTPClientError as e:
self.log.warning(f"Unable to get refresh token: {e}")
self.log.debug(resp.body)
return None
token_info = json.loads(resp.body.decode("utf8", "replace"))
return token_info.get("refresh_token", None)
Expand Down

0 comments on commit 04fa11e

Please sign in to comment.