Skip to content

Commit

Permalink
Merge pull request #201 from backtick-se/bufix_chunked_encoding_error
Browse files Browse the repository at this point in the history
Add another chunked encoding error catch
  • Loading branch information
OskarHandmark authored Nov 18, 2020
2 parents 108a10a + 47bf881 commit 5617c21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cowait/engine/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ def kill_family(container):
except docker.errors.NotFound:
return [task_id]

except requests.exceptions.ChunkedEncodingError:
# workaround for a bug in docker on mac:
# https://github.com/docker/docker-py/issues/2696
return None

except requests.exceptions.ConnectionError:
raise ProviderError('Docker engine unavailable')

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import setuptools

VERSION = "0.3.4"
VERSION = "0.3.5"

with open("README.md", "r") as fh:
long_description = fh.read()
Expand Down

0 comments on commit 5617c21

Please sign in to comment.