aboutsummaryrefslogtreecommitdiff
path: root/modules/errors.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-23 15:48:09 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-23 15:48:09 +0300
commitc9c8485bc1e8720aba70f029d25cba1c4abf2b5c (patch)
tree572e29867d4df32cf33df284cf96e8611b78045c /modules/errors.py
parent68f336bd994bed5442ad95bad6b6ad5564a5409a (diff)
parent31f2be3dcedf85c036c5f784c640208d122b62ed (diff)
Merge branch 'release_candidate'
Diffstat (limited to 'modules/errors.py')
-rw-r--r--modules/errors.py3
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)