mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-08-11 18:27:36 +00:00

Replace UnicodeDecodeError with UnprocessableEntityError in encoding detection to avoid logging entire file contents. UnicodeDecodeError.object automatically stores complete input data, causing memory issues with large files in logging and error reporting systems.