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 806d36a commit 0618951Copy full SHA for 0618951
docker/errors.py
@@ -27,7 +27,7 @@ def create_api_error_from_http_exception(e):
27
try:
28
explanation = response.json()['message']
29
except ValueError:
30
- explanation = (response.content or '').strip()
+ explanation = (response.text or '').strip()
31
cls = APIError
32
if response.status_code == 404:
33
explanation_msg = (explanation or '').lower()
0 commit comments