Open-Book-Genome-Project / sequencer

A toolchain of tasks for sequencing and fingerprinting book fulltext
https://bookgenomeproject.org
43 stars 14 forks source link

Closes #64 Improve networking exceptions #62

Closed finnless closed 3 years ago

finnless commented 3 years ago

Improve errors and logging when network issues arise. Raise excretions instead of printing warnings.

Fixes TypeError:

bgp/__init__.py:62: in _memoize_xml
    logging.error('Timeout for xml for item - ' + self.identifier + ' | ' + e)
E   TypeError: can only concatenate str (not "ConnectTimeout") to str