diff options
| author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-04-14 11:43:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-14 11:43:55 +0200 |
| commit | 07a16af33c6d1965dae860d1e604ce36e42d8d87 (patch) | |
| tree | 48788bfebd132d3363bc46fa16a6f44ab4f98537 /gitlab | |
| parent | 69ace2dcf41a763b624079e57805c1ba09865312 (diff) | |
| parent | 7beb20ff7b7b85fb92fc6b647d9c1bdb7568f27c (diff) | |
| download | gitlab-07a16af33c6d1965dae860d1e604ce36e42d8d87.tar.gz | |
Merge pull request #1974 from Sineaggi/add-chunked-to-list-of-retryable-exceptions
Add ChunkedEncodingError to list of retryable exceptions
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/client.py b/gitlab/client.py index 73a0a5c..0f61a17 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -701,7 +701,7 @@ class Gitlab: stream=streamed, **opts, ) - except requests.ConnectionError: + except (requests.ConnectionError, requests.exceptions.ChunkedEncodingError): if retry_transient_errors and ( max_retries == -1 or cur_retries < max_retries ): |
