mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Add unhealthy if update fails on startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user