updated: handle execptions while setting params

pull/23193/head
Adeeb Shihadeh 2021-12-10 22:49:32 -08:00
parent 7c9fa91fb8
commit c6d3306dbe
1 changed files with 5 additions and 1 deletions

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()