Skip to content

Commit

Permalink
App: [skip ci] handle XMLAttributeError in Document::readObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 7, 2020
1 parent b0e92ab commit e911974
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App/Document.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit e911974

Please sign in to comment.