diff options
-rw-r--r-- | uploader/oauth2/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uploader/oauth2/client.py b/uploader/oauth2/client.py index 70a32ff..e7128de 100644 --- a/uploader/oauth2/client.py +++ b/uploader/oauth2/client.py @@ -191,7 +191,7 @@ def oauth2_get(url, **kwargs) -> Either: return Right(resp.json()) return Left(resp) except Exception as exc:#pylint: disable=[broad-except] - app.logger.error("Error retriving data from auth server: (GET %s)", + app.logger.error("Error retrieving data from auth server: (GET %s)", _uri, exc_info=True) return Left(exc) @@ -223,7 +223,7 @@ def oauth2_post(url, data=None, json=None, **kwargs):#pylint: disable=[redefined return Right(resp.json()) return Left(resp) except Exception as exc:#pylint: disable=[broad-except] - app.logger.error("Error retriving data from auth server: (POST %s)", + app.logger.error("Error retrieving data from auth server: (POST %s)", _uri, exc_info=True) return Left(exc) |