mirror of https://github.com/zulip/zulip.git
bots: Fix bare except clause.
This commit is contained in:
parent
89a126b93f
commit
9f38277224
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue