diff --git a/backend/src/application/services/document_parser_service.py b/backend/src/application/services/document_parser_service.py index c151794..66c70ea 100644 --- a/backend/src/application/services/document_parser_service.py +++ b/backend/src/application/services/document_parser_service.py @@ -67,6 +67,8 @@ class DocumentParserService: return title, content except YandexOCRError: raise + except Exception as e: raise YandexOCRError(f"Ошибка при парсинге изображения: {str(e)}") from e +