bots: Fix bare except clause.
This commit is contained in:
parent
35149e83de
commit
39d7db40b3
|
@ -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 a new issue