Skip to content

Commit

Permalink
fix all OK
Browse files Browse the repository at this point in the history
Signed-off-by: Takagi, Isamu <[email protected]>
  • Loading branch information
isamu-takagi authored and TakaHoribe committed Jun 20, 2024
1 parent 70a5b3c commit 8224b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/diagnostic_graph_utils/src/node/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void LoggingNode::on_create(DiagGraph::ConstSharedPtr graph)
void LoggingNode::on_timer()
{
static const auto message = "The target mode is not available for the following reasons:";
if (root_unit_) {
if (root_unit_ && root_unit_->level() != DiagUnit::DiagnosticStatus::OK) {
dump_text_.str("");
dump_text_.clear(std::stringstream::goodbit);
dump_unit(root_unit_, 0, " ");
Expand Down

0 comments on commit 8224b20

Please sign in to comment.