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.
1 parent 23cf16f commit 05e1434Copy full SHA for 05e1434
docker/errors.py
@@ -28,7 +28,7 @@ def create_api_error_from_http_exception(e):
28
cls = ImageNotFound
29
else:
30
cls = NotFound
31
- raise cls(e, response=response, explanation=explanation)
+ raise cls(e, response=response, explanation=explanation) from e
32
33
34
class APIError(requests.exceptions.HTTPError, DockerException):
0 commit comments