Skip to content

Commit 9bbb9bc

Browse files
committed
chore: Clean up some outdated warning logs
- Remove note about using the freemium url if you recieve a 401 - Remove "Failed to partition" error log
1 parent c34ae91 commit 9bbb9bc

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

src/unstructured_client/_hooks/custom/logger_hook.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def after_error(
7878
# NOTE: Even though this is an after_error method, due to split_pdf_hook logic we may get
7979
# a success here when one of the split requests was partitioned successfully
8080
return response, error
81-
logger.error("Failed to partition the document.")
8281
if response:
8382
logger.error("Server responded with %d - %s", response.status_code, response.text)
8483
if error is not None:

src/unstructured_client/_hooks/custom/suggest_defining_url.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)