docling-project / docling-project/docling
raises_on_error = False should catch all exceptions, including HTTP errors
Open
bug
error-handling
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Bug
A `requests.exceptions.HTTPError` raised when a PDF is retrieved from a remote URL with `DocumentConverter.convert_all()` is not caught when `raises_on_error` is set to `False`.
### Steps to reproduce
Run the following script with a link that returns a 404 response:
```
from docling.document_converter import DocumentConverter
### Docling version
```
Docling version: 2.15.1
Docling Core version: 2.14.0
Docling IBM Models version: 3.1.0
Docling Parse version: 3.0.0
```
### Python version
```
Python 3.10.12
```
Contributor guide
Assessment
This issue has not been assessed yet.