add resilience

This commit is contained in:
Jerome Petazzoni
2015-06-08 11:31:00 -07:00
parent ba6f7ab58f
commit a721350546

View File

@@ -62,7 +62,7 @@ if __name__ == "__main__":
try:
work_loop()
except:
log.exception()
log.exception("In work loop:")
log.error("Waiting 10s and restarting.")
time.sleep(10)