diff --git a/src/ifcgeom/IfcGeom.cpp b/src/ifcgeom/IfcGeom.cpp index 72ebf0376e..ebbf24b89a 100644 --- a/src/ifcgeom/IfcGeom.cpp +++ b/src/ifcgeom/IfcGeom.cpp @@ -859,7 +859,9 @@ IfcSchema::IfcRepresentation* IfcGeom::Kernel::representation_mapped_to(const If } } } catch (const IfcParse::IfcException& e) { - Logger::Error(e); + // @todo the remove_boundingboxes() in IfcConvert leave dangling IfcRepresentationMap + // causing this error to be logged. + Logger::Error(e, representation); // @todo reset representation_mapped_to to zero? } return representation_mapped_to; diff --git a/src/serializers/SvgSerializer.h b/src/serializers/SvgSerializer.h index 2940f5bc22..0586b79f72 100644 --- a/src/serializers/SvgSerializer.h +++ b/src/serializers/SvgSerializer.h @@ -402,7 +402,7 @@ namespace { if (box.IsVoid()) { // false or true, it doesn't really matter, just don't - // proceed because asking for a corner of a void box + // proceed, because asking for a corner of a void box // throws an exception. return false; }