test drone
This commit is contained in:
parent
7b7165a44b
commit
9f111ad2c2
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user