We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e59078 + 2bc2f3a commit 9ff0dd0Copy full SHA for 9ff0dd0
lib/api.py
@@ -201,6 +201,8 @@ def get(self, url: str = None) -> Response | bool:
201
r = self.session.get(url)
202
203
if 200 != r.status_code:
204
+ if r.status_code == 401 or r.status_code == 403:
205
+ self.logger.info("get failed for {} with authentication error: <{}>".format(url, r.status_code))
206
self.logger.debug("get failed for {} with {}".format(url, r.status_code))
207
return False
208
0 commit comments