We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ff0e04 commit 5b9332cCopy full SHA for 5b9332c
framework_lib/src/chromium_ec/mod.rs
@@ -545,7 +545,11 @@ impl CrosEc {
545
for chunk_no in 0..chunks {
546
#[cfg(feature = "uefi")]
547
if shell_get_execution_break_flag() {
548
- return Err(EcError::DeviceError("Execution interrupted".to_string()));
+ // TODO: We don't want to crash here. But returning no data doesn't seem optimal
549
+ // either
550
+ // return Err(EcError::DeviceError("Execution interrupted".to_string()));
551
+ println!("Execution interrupted");
552
+ return Ok(vec![]);
553
}
554
555
let offset = offset + chunk_no * chunk_size;
0 commit comments