mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 05:06:30 +00:00
Add unhealthy if update fails on startup
This commit is contained in:
parent
b6bc6b8498
commit
84294f286f
@ -162,6 +162,7 @@ class Core(CoreSysAttributes):
|
|||||||
"Can't update Supervisor! This will break some Add-ons or affect "
|
"Can't update Supervisor! This will break some Add-ons or affect "
|
||||||
"future version of Home Assistant!"
|
"future version of Home Assistant!"
|
||||||
)
|
)
|
||||||
|
self.sys_resolution.unhealthy = UnhealthyReason.SUPERVISOR
|
||||||
self.sys_capture_exception(err)
|
self.sys_capture_exception(err)
|
||||||
|
|
||||||
# Start addon mark as initialize
|
# Start addon mark as initialize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user