bots: Fix bare except clause.

This commit is contained in:
Tommy Ip 2017-01-08 15:46:33 +00:00 committed by Tim Abbott
parent 89a126b93f
commit 9f38277224
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ while backoff.keep_going():
print("Starting Jabber mirroring bot") print("Starting Jabber mirroring bot")
try: try:
ret = subprocess.call(args) ret = subprocess.call(args)
except: except Exception:
traceback.print_exc() traceback.print_exc()
else: else:
if ret == 2: if ret == 2: