fix(boot): ensure top-level error is printed

This commit is contained in:
2025-11-06 13:04:05 -05:00
parent 5e4e86857c
commit c4475ad42d

View File

@@ -385,7 +385,7 @@ fn efi_main() -> Status {
let result = run();
if let Err(ref error) = result {
// Print an error trace.
error!("sprout encountered an error:");
error!("sprout encountered an error: {}", error);
for (index, stack) in error.chain().enumerate() {
error!("[{}]: {}", index, stack);
}