mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 15:40:16 +00:00
fix(boot): ensure top-level error is printed
This commit is contained in:
@@ -385,7 +385,7 @@ fn efi_main() -> Status {
|
|||||||
let result = run();
|
let result = run();
|
||||||
if let Err(ref error) = result {
|
if let Err(ref error) = result {
|
||||||
// Print an error trace.
|
// Print an error trace.
|
||||||
error!("sprout encountered an error:");
|
error!("sprout encountered an error: {}", error);
|
||||||
for (index, stack) in error.chain().enumerate() {
|
for (index, stack) in error.chain().enumerate() {
|
||||||
error!("[{}]: {}", index, stack);
|
error!("[{}]: {}", index, stack);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user