Show full traceback in get_sd_model()

to reveal if an error is caused by an extension
This commit is contained in:
linkoid
2023-05-26 15:15:59 -04:00
parent 3829afec36
commit 1f0fdede17
2 changed files with 7 additions and 3 deletions

View File

@@ -424,7 +424,7 @@ class SdModelData:
try:
load_model()
except Exception as e:
errors.display(e, "loading stable diffusion model")
errors.display(e, "loading stable diffusion model", full_traceback=True)
print("", file=sys.stderr)
print("Stable diffusion model failed to load", file=sys.stderr)
self.sd_model = None