diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-27 06:05:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 06:05:53 +0000 |
commit | 4147fd6b2f905f76c6bc20c3d9de2ea0842fa853 (patch) | |
tree | e7915af4d068912cd8509f1638e05460445a5eea /modules/interrogate.py | |
parent | f603275d84301b5ee952683e951dd1aad72ba615 (diff) | |
parent | bedcd2f377a38ef4da58c11dbe222d32b954be2f (diff) | |
download | stable-diffusion-webui-gfx803-4147fd6b2f905f76c6bc20c3d9de2ea0842fa853.tar.gz stable-diffusion-webui-gfx803-4147fd6b2f905f76c6bc20c3d9de2ea0842fa853.tar.bz2 stable-diffusion-webui-gfx803-4147fd6b2f905f76c6bc20c3d9de2ea0842fa853.zip |
Merge branch 'dev' into 10141-gradio-user-exif
Diffstat (limited to 'modules/interrogate.py')
-rw-r--r-- | modules/interrogate.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/interrogate.py b/modules/interrogate.py index 111b1322..9b2c5b60 100644 --- a/modules/interrogate.py +++ b/modules/interrogate.py @@ -1,6 +1,5 @@ import os
import sys
-import traceback
from collections import namedtuple
from pathlib import Path
import re
@@ -216,8 +215,7 @@ class InterrogateModels: res += f", {match}"
except Exception:
- print("Error interrogating", file=sys.stderr)
- print(traceback.format_exc(), file=sys.stderr)
+ errors.report("Error interrogating", exc_info=True)
res += "<error>"
self.unload()
|