Improve ignite fairing failure trace message.

This commit is contained in:
Sergio Benitez 2024-08-20 23:31:24 -07:00
parent 8b9d906cc4
commit e889c2628a
2 changed files with 2 additions and 2 deletions

View File

@ -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
}
}

View File

@ -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) => {