diff --git a/kibot/out_download_datasheets.py b/kibot/out_download_datasheets.py index 94f206b6..791834ad 100644 --- a/kibot/out_download_datasheets.py +++ b/kibot/out_download_datasheets.py @@ -69,6 +69,9 @@ class Download_Datasheets_Options(VariantOptions): except requests.exceptions.ReadTimeout: logger.warning(W_FAILDL+'Timeout during download `{}`'.format(ds)) return None + except requests.exceptions.ConnectionError: + logger.warning(W_FAILDL+'Connection error during download `{}`'.format(ds)) + return None if r.status_code != 200: logger.warning(W_FAILDL+'Failed to download `{}`'.format(ds)) return None