From e889c2628ad77dcb7083df16db6c01cf373dbab5 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 20 Aug 2024 23:31:24 -0700 Subject: [PATCH] Improve ignite fairing failure trace message. --- core/lib/src/error.rs | 2 +- core/lib/src/trace/traceable.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/src/error.rs b/core/lib/src/error.rs index f08e94ad65..60bbdd87ec 100644 --- a/core/lib/src/error.rs +++ b/core/lib/src/error.rs @@ -195,7 +195,7 @@ impl Error { match result { Ok(_) => process::ExitCode::SUCCESS, Err(e) => { - span_error!("error", "aborting launch due to error" => e.trace_error()); + span_error!("launch failure", "aborting launch due to error" => e.trace_error()); process::ExitCode::SUCCESS } } diff --git a/core/lib/src/trace/traceable.rs b/core/lib/src/trace/traceable.rs index 19b8c8b580..fa3f685011 100644 --- a/core/lib/src/trace/traceable.rs +++ b/core/lib/src/trace/traceable.rs @@ -338,7 +338,7 @@ impl Trace for ErrorKind { }); } FailedFairings(fairings) => { - let span = span!(level, "fairings", count = fairings.len(), "ignition failure"); + let span = span!(level, "failed ignite fairings", count = fairings.len()); span.in_scope(|| fairings.iter().trace_all(level)); }, SentinelAborts(sentries) => {