mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-07-07 10:00:17 +02:00
Don't crash if a VAE file fails to load
This commit is contained in:
@ -436,7 +436,7 @@ def stop_render_thread(device):
|
||||
try:
|
||||
device_manager.validate_device_id(device, log_prefix='stop_render_thread')
|
||||
except:
|
||||
print(traceback.format_exec())
|
||||
print(traceback.format_exc())
|
||||
return False
|
||||
|
||||
if not manager_lock.acquire(blocking=True, timeout=LOCK_TIMEOUT): raise Exception('stop_render_thread' + ERR_LOCK_FAILED)
|
||||
|
Reference in New Issue
Block a user