We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7522464 commit 02b3a27Copy full SHA for 02b3a27
include/behaviortree_cpp/scripting/operators.hpp
@@ -71,7 +71,7 @@ struct ExprName : ExprBase
71
auto any_ref = env.vars->getAnyLocked(name);
72
if( !any_ref )
73
{
74
- throw std::runtime_error("Variable not found");
+ throw RuntimeError(StrCat("Variable not found: ", name));
75
}
76
return *any_ref.get();
77
0 commit comments