Skip to content

Commit

Permalink
Improve ignite fairing failure trace message.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioBenitez committed Aug 21, 2024
1 parent 8b9d906 commit e889c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lib/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/trace/traceable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit e889c26

Please sign in to comment.