mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 17:52:20 +00:00
fix(boot): ensure top-level error is printed
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user