updated: handle execptions while setting params

old-commit-hash: c6d3306dbe32a7f438c5422426d570316a697cba
This commit is contained in:
Adeeb Shihadeh
2021-12-10 22:49:32 -08:00
parent 1d429f7e90
commit db8e512ee5
+5 -1
View File
@@ -459,7 +459,11 @@ def main():
exception = str(e)
overlay_init.unlink(missing_ok=True)
set_params(new_version, update_failed_count, exception)
try:
set_params(new_version, update_failed_count, exception)
except Exception:
cloudlog.exception("uncaught updated exception while setting params, shouldn't happen")
wait_helper.sleep(60)
dismount_overlay()