diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-01 16:55:55 +0300 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-01 16:55:55 +0300 |
commit | 0c9b1e7969b2adb39c38d17b481a689483059459 (patch) | |
tree | 721ae5bc4143f21c8034819755977dc4d293640d /modules/errors.py | |
parent | 151b8ed3a62714793e2a212ac609a03dda0b1e26 (diff) | |
parent | 6a0d498c8ec5287a75e2a3bc8a4fa79e82e64c18 (diff) |
Merge branch 'dev' into multiple_loaded_models
Diffstat (limited to 'modules/errors.py')
-rw-r--r-- | modules/errors.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/errors.py b/modules/errors.py index 5271a9fe..dffabe45 100644 --- a/modules/errors.py +++ b/modules/errors.py @@ -14,7 +14,8 @@ def record_exception(): if exception_records and exception_records[-1] == e:
return
- exception_records.append((e, tb))
+ from modules import sysinfo
+ exception_records.append(sysinfo.format_exception(e, tb))
if len(exception_records) > 5:
exception_records.pop(0)
|