diff options
| author | Clayton Walker <cwalker@sofi.org> | 2022-04-11 12:55:22 -0600 |
|---|---|---|
| committer | Clayton Walker <cwalker@sofi.org> | 2022-04-13 13:45:56 -0600 |
| commit | 7beb20ff7b7b85fb92fc6b647d9c1bdb7568f27c (patch) | |
| tree | 2291d7197b8681ba4c202e133659b79b174258c3 /gitlab/client.py | |
| parent | 5370979a3f6e29cd17f77849c445561a892d912c (diff) | |
| download | gitlab-7beb20ff7b7b85fb92fc6b647d9c1bdb7568f27c.tar.gz | |
fix: add ChunkedEncodingError to list of retryable exceptions
Diffstat (limited to 'gitlab/client.py')
| -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 c6ac0d1..a0a22d3 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -694,7 +694,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 ): |
