From 64d78239ab4839a331c4aaec4c0d7e8d1d179e53 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 25 Sep 2024 18:52:31 -0500 Subject: Fix typos. --- uploader/oauth2/client.py | 4 ++-- 1 file 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) -- cgit v1.2.3