bots: Fix bare except clause.
This commit is contained in:
parent
3cea2b5f1c
commit
d5690c80c9
|
@ -206,7 +206,7 @@ def update_subscriptions():
|
||||||
f = open(options.stream_file_path, "r")
|
f = open(options.stream_file_path, "r")
|
||||||
public_streams = simplejson.loads(f.read())
|
public_streams = simplejson.loads(f.read())
|
||||||
f.close()
|
f.close()
|
||||||
except:
|
except Exception:
|
||||||
logger.exception("Error reading public streams:")
|
logger.exception("Error reading public streams:")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue