6690: Not being able to write a .gramps produces a scary message about DB corruption
This commit is contained in:
parent
e70849f4f0
commit
24d9e001a5
@ -1336,5 +1336,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
|
||||
|
Loading…
Reference in New Issue
Block a user