test drone
This commit is contained in:
@@ -67,6 +67,8 @@ class DocumentParserService:
|
|||||||
return title, content
|
return title, content
|
||||||
except YandexOCRError:
|
except YandexOCRError:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise YandexOCRError(f"Ошибка при парсинге изображения: {str(e)}") from e
|
raise YandexOCRError(f"Ошибка при парсинге изображения: {str(e)}") from e
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user