Specify exception type
This commit is contained in:
parent
a4273c6c6e
commit
ff4217b488
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ class DownloadUtils():
|
||||||
LOG.warn('Failed to connect to %s too many times. '
|
LOG.warn('Failed to connect to %s too many times. '
|
||||||
'Declare PMS dead', url)
|
'Declare PMS dead', url)
|
||||||
window('plex_online', value="false")
|
window('plex_online', value="false")
|
||||||
except:
|
except ValueError:
|
||||||
# 'countError' not yet set
|
# 'countError' not yet set
|
||||||
pass
|
pass
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in a new issue