Skip to content

Commit

Permalink
uncommented error printing in exception handling
Browse files Browse the repository at this point in the history
Signed-off-by: Yathartha Tuladhar <yathartha3@gmail.com>
  • Loading branch information
yathartha3 committed Jul 4, 2019
1 parent c8d4436 commit 6e6bacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclcpp_lifecycle/src/lifecycle_node_interface_impl.hpp
Expand Up @@ -429,7 +429,7 @@ class LifecycleNode::LifecycleNodeInterfaceImpl
// 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("Original error msg: %s\n", 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 6e6bacd

Please sign in to comment.