This commit is contained in:
Arxip222 2025-12-24 10:37:13 +03:00
parent 49c3d1b0fd
commit 193deb7a8c

View File

@ -67,6 +67,7 @@ class DocumentParserService:
return title, content
except YandexOCRError:
raise
except Exception as e:
raise YandexOCRError(f"Ошибка при парсинге изображения: {str(e)}") from e