From d5690c80c99e911173bbfcfa26a18c687f9fd98a Mon Sep 17 00:00:00 2001 From: Tommy Ip Date: Sun, 8 Jan 2017 15:42:07 +0000 Subject: [PATCH] bots: Fix bare except clause. --- bots/zephyr_mirror_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 77886f8..2d867fe 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -206,7 +206,7 @@ def update_subscriptions(): f = open(options.stream_file_path, "r") public_streams = simplejson.loads(f.read()) f.close() - except: + except Exception: logger.exception("Error reading public streams:") return