Defensiveness #5683

This commit is contained in:
Thomas Krijnen
2024-12-17 20:57:01 +01:00
parent abb1fe6f60
commit bd7c19a861
2 changed files with 19 additions and 4 deletions
+5 -1
View File
@@ -198,7 +198,11 @@ namespace IfcGeom {
// @todo this shouldn't be necessary with properly immutable taxonomy items
converter_->mapping()->use_caching() = false;
}
converter_->mapping()->get_representations(reps, filters_);
try {
converter_->mapping()->get_representations(reps, filters_);
} catch (const std::exception& e) {
Logger::Error(e);
}
time_points[1] = high_resolution_clock::now();
for (auto& task : reps) {