mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
catch Standard_ConstructionError when serialising xml attributes
This commit is contained in:
committed by
Thomas Krijnen
parent
491dc57098
commit
a851a25ddc
@@ -158,6 +158,8 @@ ptree& format_entity_instance(IfcUtil::IfcBaseEntity* instance, ptree& child, pt
|
||||
value = format_attribute(argument, argument_type, qualified_name);
|
||||
} catch (const std::exception& e) {
|
||||
Logger::Error(e);
|
||||
} catch (const Standard_ConstructionError& e) {
|
||||
Logger::Error(e.GetMessageString(), instance->entity);
|
||||
}
|
||||
|
||||
if (value) {
|
||||
|
||||
Reference in New Issue
Block a user