Skip to content

Commit

Permalink
Minor logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzhar committed Aug 2, 2023
1 parent edb63b6 commit 91dacb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zed_components/src/zed_camera/src/zed_camera_component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,9 @@ void ZedCamera::getGeneralParams()
} else if (out_resol == "CUSTOM") {
mPubResolution = PubRes::CUSTOM;
} else {
RCLCPP_INFO(get_logger(), "Not valid 'general.pub_resolution' value. Using default setting.");
RCLCPP_WARN(
get_logger(), "Not valid 'general.pub_resolution' value: '%s'. Using default setting instead.",
out_resol.c_str());
out_resol = "NATIVE";
mPubResolution = PubRes::NATIVE;
}
Expand Down

0 comments on commit 91dacb1

Please sign in to comment.