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 629cb31 commit 64f4ce2Copy full SHA for 64f4ce2
1 file changed
spacy_llm/backends/rest/base.py
@@ -127,7 +127,8 @@ def _call_api(attempt: int) -> Optional[requests.Response]:
127
if _HTTPRetryErrorCodes.has(response.status_code):
128
raise ConnectionError(
129
f"API could not be reached after {(time.time() - start_time):.3f} seconds in total and attempting to "
130
- f"connect {self._max_tries} times. Check your network connection and the API's availability."
+ f"connect {self._max_tries} times. Check your network connection and the API's availability.\n"
131
+ f"{response.status_code}\t{response.reason}"
132
)
133
134
return response
0 commit comments