From 9f38277224db063f8f2fcd03e8491403990e2f5b Mon Sep 17 00:00:00 2001 From: Tommy Ip Date: Sun, 8 Jan 2017 15:46:33 +0000 Subject: [PATCH] bots: Fix bare except clause. --- bots/jabber_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index 5fef11d0ff..0ab550a2d3 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -46,7 +46,7 @@ while backoff.keep_going(): print("Starting Jabber mirroring bot") try: ret = subprocess.call(args) - except: + except Exception: traceback.print_exc() else: if ret == 2: