mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-13 20:26:29 +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 "
|
||||
"future version of Home Assistant!"
|
||||
)
|
||||
self.sys_resolution.unhealthy = UnhealthyReason.SUPERVISOR
|
||||
self.sys_capture_exception(err)
|
||||
|
||||
# Start addon mark as initialize
|
||||
|
Loading…
x
Reference in New Issue
Block a user