Learn more about these different git repos.
Other Git URLs
5572bff
@@ -65,8 +65,8 @@
if response.status_code == 401:
self._update_auth_params(request_params, auth, reauth=True)
continue
- return response
- raise CoprRequestException("Unable to connect to {0}.".format(self.api_base_url))
+ break
+ return response
def _request_params(self, endpoint, method=GET, data=None, params=None,
headers=None, auth=None):
Fix #2235
Build succeeded.
Do we want to have this in two places (send, and the inner _send_request_repeatedly()?
1 new commit added
python: handle request errors only once
You are right, it is enough to have just one handle_errors call. PTAL. If you like this change better, I will squash the commits.
handle_errors
rebased onto 32b7c26af63b6ec023ec9f8eca82078ab037c33f
rebased onto 5572bff
Pull-Request has been merged by frostyx
Fix #2235