mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
[MM bugfix] Put model install errors on the event bus (#6578)
* fix access token lookup * fix bug preventing model install error events from being reported --------- Co-authored-by: Lincoln Stein <lstein@gmail.com>
This commit is contained in:
@ -848,7 +848,7 @@ class ModelInstallService(ModelInstallServiceBase):
|
||||
with self._lock:
|
||||
if install_job := self._download_cache.pop(download_job.id, None):
|
||||
assert excp is not None
|
||||
install_job.set_error(excp)
|
||||
self._set_error(install_job, excp)
|
||||
self._download_queue.cancel_job(download_job)
|
||||
|
||||
# Let other threads know that the number of downloads has changed
|
||||
|
Reference in New Issue
Block a user