Specify exception type

This commit is contained in:
Croneter 2018-06-01 18:49:43 +02:00
parent a4273c6c6e
commit ff4217b488

View file

@ -318,7 +318,7 @@ class DownloadUtils():
LOG.warn('Failed to connect to %s too many times. '
'Declare PMS dead', url)
window('plex_online', value="false")
except:
except ValueError:
# 'countError' not yet set
pass
return None