forked from HSE_team/BetterCallPraskovia
test
This commit is contained in:
parent
49c3d1b0fd
commit
193deb7a8c
@ -67,6 +67,7 @@ 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