Skip to content

Commit 71de214

Browse files
author
Filip Knefel
committed
lint
1 parent c19adba commit 71de214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unstructured_client/_hooks/custom/request_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ async def do_request():
190190
)
191191
return response
192192
except Exception as e:
193-
logger.error(f"Request failed with error: {e}", exc_info=e)
193+
logger.error("Request failed with error: %s", e, exc_info=e)
194194
raise e
195195
finally:
196196
if not isinstance(pdf_chunk_file, io.BytesIO) and not pdf_chunk_file.closed:

0 commit comments

Comments
 (0)