summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exception.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index ce15eaa0b..08e319acb 100644
--- a/exception.py
+++ b/exception.py
@@ -138,7 +138,8 @@ def dumpException(out, text, tb, dispatch):
out.write("\n\n")
dumpClass(dispatch, out)
except:
- out.write("Exception occured during state dump\n")
+ out.write("\nException occured during state dump:\n")
+ traceback.print_exc(None, out)
def handleException(dispatch, intf, (type, value, tb)):
list = traceback.format_exception (type, value, tb)