Report error exceptions

svn: r1275
This commit is contained in:
Don Allingham
2003-01-29 04:43:12 +00:00
parent 8bf2913518
commit f830960278
16 changed files with 103 additions and 56 deletions

View File

@@ -36,6 +36,9 @@ import string
#------------------------------------------------------------------------
import Report
import TextDoc
import Errors
from QuestionDialog import ErrorDialog
from intl import gettext as _
#------------------------------------------------------------------------
@@ -161,6 +164,8 @@ class DescendantReportDialog(Report.TextReportDialog):
MyReport.setup()
MyReport.report()
MyReport.end()
except Errors.ReportError, msg:
ErrorDialog(str(msg))
except:
import DisplayTrace
DisplayTrace.DisplayTrace()