src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't get a traceback.

svn: r8290
This commit is contained in:
Brian Matherly 2007-03-11 22:19:08 +00:00
parent 2569c5d9f0
commit 96692977c4
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2007-03-11 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't
get a traceback.
2007-03-11 Brian Matherly <brian@gramps-project.org> 2007-03-11 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py: 0000950: include the date in the reference * src/plugins/NarrativeWeb.py: 0000950: include the date in the reference
sections of the narrative web site sections of the narrative web site

View File

@ -669,9 +669,6 @@ def report(dbstate,uistate,person,report_class,options_class,
report_class(dbstate,uistate,person) report_class(dbstate,uistate,person)
except Errors.WindowActiveError: except Errors.WindowActiveError:
pass pass
except Exception, msg:
ErrorDialog(_("Error generating report"),
str(msg))
return return
else: else:
dialog_class = ReportDialog dialog_class = ReportDialog