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.
2 parents 54da26f + 3323d76 commit ca568b3Copy full SHA for ca568b3
1 file changed
typesense/documents.py
@@ -81,7 +81,7 @@ def import_(self, documents, params=None, batch_size=None):
81
try:
82
res_obj_json = json.loads(res_obj_str)
83
except json.JSONDecodeError as e:
84
- raise TypesenseClientError("Invalid response") from e
+ raise TypesenseClientError(f"Invalid response - {res_obj_str}") from e
85
response_objs.append(res_obj_json)
86
87
return response_objs
0 commit comments