Skip to content

Commit 617e743

Browse files
committed
fixed HTTP error messages
1 parent 9897620 commit 617e743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splitapiclient/http_clients/sync_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _handle_invalid_response(self, response):
5353

5454
exc = status_codes_exceptions.get(response.status_code)
5555
if exc:
56-
raise exc()
56+
raise exc(response.text)
5757
else:
5858
raise HTTPResponseError(response.text)
5959

0 commit comments

Comments
 (0)