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 c19adba commit 71de214Copy full SHA for 71de214
src/unstructured_client/_hooks/custom/request_utils.py
@@ -190,7 +190,7 @@ async def do_request():
190
)
191
return response
192
except Exception as e:
193
- logger.error(f"Request failed with error: {e}", exc_info=e)
+ logger.error("Request failed with error: %s", e, exc_info=e)
194
raise e
195
finally:
196
if not isinstance(pdf_chunk_file, io.BytesIO) and not pdf_chunk_file.closed:
0 commit comments