Skip to content

Commit

Permalink
fix(modulo-components): add missing space in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
domire8 committed Jun 5, 2024
1 parent fb21310 commit 02e15be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/modulo_components/src/Component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void Component::step() {
this->publish_outputs();
this->publish_predicates();
} catch (const std::exception& ex) {
RCLCPP_ERROR_STREAM(this->get_logger(), "Failed to execute step function:" << ex.what());
RCLCPP_ERROR_STREAM(this->get_logger(), "Failed to execute step function: " << ex.what());
this->raise_error();
}
}
Expand Down
2 changes: 1 addition & 1 deletion source/modulo_components/src/LifecycleComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void LifecycleComponent::step() {
}
this->publish_predicates();
} catch (const std::exception& ex) {
RCLCPP_ERROR_STREAM(this->get_logger(), "Failed to execute step function:" << ex.what());
RCLCPP_ERROR_STREAM(this->get_logger(), "Failed to execute step function: " << ex.what());
// TODO handle error in lifecycle component
// this->raise_error();
}
Expand Down

0 comments on commit 02e15be

Please sign in to comment.