Report error exceptions

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

View File

@@ -48,6 +48,7 @@ import Errors
from SubstKeywords import SubstKeywords
from intl import gettext as _
from QuestionDialog import ErrorDialog
#------------------------------------------------------------------------
#
@@ -341,6 +342,8 @@ class DescendantReportDialog(Report.DrawReportDialog):
MyReport = DescendantReport(self.db,self.report_text,
self.person, self.target_path, self.doc)
MyReport.write_report()
except Errors.ReportError, msg:
ErrorDialog(str(msg))
except:
import DisplayTrace
DisplayTrace.DisplayTrace()