mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-18 03:12:05 +08:00
updated: handle execptions while setting params
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user