Skip to content

Commit

Permalink
Fixed throw of exception in mesh parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Jan 12, 2025
1 parent f7b1f72 commit cea27d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_urdf/src/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ std::vector<tesseract_geometry::PolygonMesh::Ptr> parseMesh(const tinyxml2::XMLE
// Make convex override attribute is specified
// Check that it was loaded successfully
if (make_convex_override_status != tinyxml2::XML_SUCCESS)
std::throw_with_nested("Mesh: Failed to parse attribute 'tesseract:make_convex'");
std::throw_with_nested(std::runtime_error("Mesh: Failed to parse attribute 'tesseract:make_convex'"));

// Override the global make_convex flag with the value from the attribute
make_convex = make_convex_override;
Expand Down

0 comments on commit cea27d1

Please sign in to comment.