Abort on failed task pickups in fleet mode

This commit is contained in:
Andrew Grant committed 2021-06-28 19:40:02 -04:00
1 parent 985c10e3cd
commit 53ded87f3b
1 file changed
+1
+1
View File
@@ -203,6 +203,7 @@ def try_until_success(mesg):
except Exception:
print('[Error]', mesg);
if not FLEET_MODE: time.sleep(TIMEOUT_ERROR)
if FLEET_MODE and mesg == ERRORS['request']: sys.exit()
if DEBUG: traceback.print_exc()
return __try_until_success
return _try_until_success