Fix recorder setup hanging if non live schema migration fails (#122207)
This commit is contained in:
parent
d1d2ce1270
commit
153b69c971
3 changed files with 37 additions and 7 deletions
|
@ -773,6 +773,7 @@ class Recorder(threading.Thread):
|
|||
"Database Migration Failed",
|
||||
"recorder_database_migration",
|
||||
)
|
||||
self.hass.add_job(self._async_startup_failed)
|
||||
return
|
||||
|
||||
if not database_was_ready:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue