diff --git a/Contents/Libraries/Shared/subliminal_patch/patch_provider_pool.py b/Contents/Libraries/Shared/subliminal_patch/patch_provider_pool.py index d47ff2001..09a0e1f03 100644 --- a/Contents/Libraries/Shared/subliminal_patch/patch_provider_pool.py +++ b/Contents/Libraries/Shared/subliminal_patch/patch_provider_pool.py @@ -218,9 +218,10 @@ def download_subtitle(self, subtitle): requests.exceptions.SSLError, requests.Timeout, socket.timeout): - logger.error('Provider %r timed out', subtitle.provider_name) + logger.error('Provider %r connection error', subtitle.provider_name) except: logger.exception('Unexpected error in provider %r, Traceback: %s', subtitle.provider_name, traceback.format_exc()) + self.discarded_providers.add(subtitle.provider_name) return False if tries == DOWNLOAD_TRIES: