diff --git a/src/cli/plug/__init__.py b/src/cli/plug/__init__.py index 024d0737f..715446d04 100644 --- a/src/cli/plug/__init__.py +++ b/src/cli/plug/__init__.py @@ -592,6 +592,8 @@ def cl_report(database, name, category, report_class, options_class, (m1, m2) = msg.messages() print err_msg print m1 + if m2: + print m2 except: if len(log.handlers) > 0: log.error(err_msg, exc_info=True) diff --git a/src/plugins/textreport/TagReport.py b/src/plugins/textreport/TagReport.py index e828f062c..4281f93ae 100644 --- a/src/plugins/textreport/TagReport.py +++ b/src/plugins/textreport/TagReport.py @@ -76,7 +76,7 @@ class TagReport(Report): menu = options.menu self.tag = menu.get_option_by_name('tag').get_value() if not self.tag: - raise ReportError(_('Tag Report'), + raise ReportError( _('You must first create a tag before running this report.')) def write_report(self):