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 fe46408 commit 33a767cCopy full SHA for 33a767c
src/typesense/stemming_dictionaries.py
@@ -152,8 +152,8 @@ def _parse_response(
152
for line in response.split("\n"):
153
try:
154
decoded = json.loads(line)
155
- except json.JSONDecodeError:
156
- raise ValueError(f"Failed to parse JSON from response: {line}")
+ except json.JSONDecodeError as err:
+ raise ValueError(f"Failed to parse JSON from response: {line}") from err
157
object_list.append(decoded)
158
return object_list
159
0 commit comments