diff --git a/system/default_ad_api/src/operation_mode.cpp b/system/default_ad_api/src/operation_mode.cpp index d4b430ecd0579..510788dd09d08 100644 --- a/system/default_ad_api/src/operation_mode.cpp +++ b/system/default_ad_api/src/operation_mode.cpp @@ -66,8 +66,13 @@ void OperationModeNode::change_mode( const ResponseT res, const OperationModeRequest::_mode_type mode) { if (!mode_available_[mode]) { + RCLCPP_WARN( + get_logger(), + "The target mode is not available. Please check the cause with " + "rqt_diagnostics_graph_monitor"); throw component_interface_utils::ServiceException( - ServiceResponse::ERROR_NOT_AVAILABLE, "The mode change is blocked by the system."); + ServiceResponse::ERROR_NOT_AVAILABLE, + "The target mode is not available. Please check the diagnostics."); } const auto req = std::make_shared(); req->mode = mode;