Skip to content

Commit e6f241c

Browse files
committed
fix message
1 parent e5151f3 commit e6f241c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/action_node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ NodeStatus StatefulActionNode::tick()
138138
NodeStatus new_status = onStart();
139139
if( new_status == NodeStatus::IDLE)
140140
{
141-
throw std::logic_error("AsyncActionNode2::onStart() must not return IDLE");
141+
throw std::logic_error("StatefulActionNode::onStart() must not return IDLE");
142142
}
143143
return new_status;
144144
}
@@ -148,7 +148,7 @@ NodeStatus StatefulActionNode::tick()
148148
NodeStatus new_status = onRunning();
149149
if( new_status == NodeStatus::IDLE)
150150
{
151-
throw std::logic_error("AsyncActionNode2::onRunning() must not return IDLE");
151+
throw std::logic_error("StatefulActionNode::onRunning() must not return IDLE");
152152
}
153153
return new_status;
154154
}

0 commit comments

Comments
 (0)