6690: Not being able to write a .gramps produces a scary message about DB corruption

This commit is contained in:
Doug Blank 2014-01-17 07:43:39 -05:00
parent 4111214e01
commit 676a39ce9c

View File

@ -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