1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2026-05-08 17:08:36 +01:00

Add unhealthy if update fails on startup

This commit is contained in:
Pascal Vizeli
2020-11-24 12:51:16 +00:00
parent b6bc6b8498
commit 84294f286f
+1
View File
@@ -162,6 +162,7 @@ class Core(CoreSysAttributes):
"Can't update Supervisor! This will break some Add-ons or affect "
"future version of Home Assistant!"
)
self.sys_resolution.unhealthy = UnhealthyReason.SUPERVISOR
self.sys_capture_exception(err)
# Start addon mark as initialize