mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
fix codeql warning
This commit is contained in:
@@ -101,9 +101,8 @@ class BaseAPIClient:
|
|||||||
except requests.RequestException as e:
|
except requests.RequestException as e:
|
||||||
api_error = HTTPError.create(e)
|
api_error = HTTPError.create(e)
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"API %s request on %s failed with %s '%s'",
|
"API %s request failed with %s '%s'",
|
||||||
method,
|
method,
|
||||||
url,
|
|
||||||
api_error.status_code,
|
api_error.status_code,
|
||||||
api_error.message,
|
api_error.message,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user