From 39d7db40b3b04824a8ecd782d87dc05312be81d8 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 5fef11d..0ab550a 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: