Skip to content

Commit

Permalink
Improved reporting of errors in IK plugin loader (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored Aug 12, 2023
1 parent 6601a7a commit 78e3011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tesseract_kinematics/core/src/kinematics_plugin_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ KinematicsPluginFactory::createInvKin(const std::string& solver_name,
inv_kin_factories_[plugin_info.class_name] = plugin;
return plugin->create(solver_name, scene_graph, scene_state, *this, plugin_info.config);
}
catch (const std::exception&)
catch (const std::exception& ex)
{
CONSOLE_BRIDGE_logWarn("Failed to load symbol '%s'", plugin_info.class_name.c_str());
CONSOLE_BRIDGE_logWarn(ex.what());
return nullptr;
}
}
Expand Down

0 comments on commit 78e3011

Please sign in to comment.