Skip to content

Commit

Permalink
Update lifecycle_node_interface_impl.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yathartha3 committed Jul 10, 2019
1 parent 6e6bacd commit bdd373c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rclcpp_lifecycle/src/lifecycle_node_interface_impl.hpp
Expand Up @@ -428,8 +428,8 @@ class LifecycleNode::LifecycleNodeInterfaceImpl
} catch (const std::exception & e) {
// TODO(karsten1987): Windows CI doesn't let me print the msg here
// the todo is to forward the exception to the on_error callback
RCUTILS_LOG_ERROR("Caught exception in callback for transition %d\n", it->first);
RCUTILS_LOG_ERROR("Original error msg: %s\n", e.what());
RCUTILS_LOG_ERROR("Caught exception in callback for transition %d", it->first);
RCUTILS_LOG_ERROR("Original error msg: %s", e.what());
// maybe directly go for error handling here
// and pass exception along with it
cb_success = node_interfaces::LifecycleNodeInterface::CallbackReturn::ERROR;
Expand Down

0 comments on commit bdd373c

Please sign in to comment.