Critical catch
This commit is contained in:
parent
71adfd5d04
commit
10b3a75ee1
@ -224,11 +224,19 @@ def watch_folder():
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
while(True):
|
while(True):
|
||||||
queue = update_queue()
|
try:
|
||||||
|
queue = update_queue()
|
||||||
|
except Exception:
|
||||||
|
print('ERROR: while updating work queue. Resuming.')
|
||||||
|
continue
|
||||||
if not queue:
|
if not queue:
|
||||||
watch_folder()
|
watch_folder()
|
||||||
continue
|
continue
|
||||||
run(queue.pop()['expe_file'])
|
try:
|
||||||
|
run(queue.pop()['expe_file'])
|
||||||
|
except Exception:
|
||||||
|
print('ERROR: while running test. Resuming.')
|
||||||
|
continue
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
Loading…
Reference in New Issue
Block a user