bots: Fix bare except clause.

This commit is contained in:
Tommy Ip 2017-01-08 15:42:07 +00:00
parent 3cea2b5f1c
commit d5690c80c9

View file

@ -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