App: [skip ci] handle XMLAttributeError in Document::readObjects

This commit is contained in:
wmayer
2020-06-07 14:25:32 +02:00
parent b0e92abcb5
commit e911974159

View File

@@ -2106,6 +2106,9 @@ Document::readObjects(Base::XMLReader& reader)
catch (const Base::RuntimeError &e) {
e.ReportException();
}
catch (const Base::XMLAttributeError &e) {
e.ReportException();
}
pObj->setStatus(ObjectStatus::Restore, false);