mirror of https://github.com/rwf2/Rocket.git
Improve ignite fairing failure trace message.
This commit is contained in:
parent
8b9d906cc4
commit
e889c2628a
|
@ -195,7 +195,7 @@ impl Error {
|
||||||
match result {
|
match result {
|
||||||
Ok(_) => process::ExitCode::SUCCESS,
|
Ok(_) => process::ExitCode::SUCCESS,
|
||||||
Err(e) => {
|
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
|
process::ExitCode::SUCCESS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -338,7 +338,7 @@ impl Trace for ErrorKind {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
FailedFairings(fairings) => {
|
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));
|
span.in_scope(|| fairings.iter().trace_all(level));
|
||||||
},
|
},
|
||||||
SentinelAborts(sentries) => {
|
SentinelAborts(sentries) => {
|
||||||
|
|
Loading…
Reference in New Issue