diff --git a/gramps/plugins/export/exportxml.py b/gramps/plugins/export/exportxml.py index 9bf54f418..ec3151a60 100644 --- a/gramps/plugins/export/exportxml.py +++ b/gramps/plugins/export/exportxml.py @@ -1304,5 +1304,5 @@ class XmlWriter(GrampsXmlWriter): ret = GrampsXmlWriter.write(self, filename) except DbWriteFailure as msg: (m1, m2) = msg.messages() - self.user.notify_db_error("%s\n%s" % (m1, m2)) + self.user.notify_error("%s\n%s" % (m1, m2)) return ret