update to rcutils logging in commented code as well (#466)
This commit is contained in:
parent
1610fc3973
commit
66a7c62531
1 changed files with 3 additions and 3 deletions
|
@ -359,9 +359,9 @@ public:
|
||||||
} catch (const std::exception &) {
|
} catch (const std::exception &) {
|
||||||
// TODO(karsten1987): Windows CI doens't let me print the msg here
|
// TODO(karsten1987): Windows CI doens't let me print the msg here
|
||||||
// the todo is to forward the exception to the on_error callback
|
// the todo is to forward the exception to the on_error callback
|
||||||
// fprintf(stderr, "Caught exception in callback for transition %d\n",
|
// RCUTILS_LOG_ERROR("Caught exception in callback for transition %d\n",
|
||||||
// it->first);
|
// it->first)
|
||||||
// fprintf(stderr, "Original error msg: %s\n", e.what());
|
// RCUTILS_LOG_ERROR("Original error msg: %s\n", e.what())
|
||||||
// maybe directly go for error handling here
|
// maybe directly go for error handling here
|
||||||
// and pass exception along with it
|
// and pass exception along with it
|
||||||
cb_success = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_ERROR;
|
cb_success = lifecycle_msgs::msg::Transition::TRANSITION_CALLBACK_ERROR;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue