Skip to content

Commit

Permalink
Add http response.text to deployment error reason
Browse files Browse the repository at this point in the history
  • Loading branch information
ulyanin committed Oct 15, 2024
1 parent 0abea9c commit 9448b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vespa/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ def get_connection_response_with_retry(
)
if response.status_code != 200:
raise HTTPError(
f"HTTP {response.status_code} error: {response.reason_phrase} for {path}"
f"HTTP {response.status_code} reason: {response.reason_phrase} error_text: {response.text} for {path}"
)
return response

Expand Down

0 comments on commit 9448b57

Please sign in to comment.