From 04fa11efb9e7cf67720d0609b8ad755e2fc05f7e Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Wed, 17 Jul 2024 10:00:28 +0100 Subject: [PATCH] Add some debugging --- egi_notebooks_hub/egiauthenticator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/egi_notebooks_hub/egiauthenticator.py b/egi_notebooks_hub/egiauthenticator.py index f984485..83baca7 100644 --- a/egi_notebooks_hub/egiauthenticator.py +++ b/egi_notebooks_hub/egiauthenticator.py @@ -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)