mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 05:10:53 +00:00
Don't stall threads on occt failures
This commit is contained in:
@@ -31,6 +31,9 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert(const taxonomy::pt
|
|||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
Logger::Error(e, item->instance);
|
Logger::Error(e, item->instance);
|
||||||
return false;
|
return false;
|
||||||
|
} catch (...) {
|
||||||
|
// @todo we can't log OCCT exceptions here, can we do some reraising to solve this?
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user