chore: u2fsign
This commit is contained in:
@@ -74,9 +74,8 @@ impl Command for CommandImpl {
|
||||
return simple_error!("Couldn't register: {:?}", e);
|
||||
}
|
||||
|
||||
let sign_result = sign_rx
|
||||
.recv()
|
||||
.expect("Problem receiving, unable to continue");
|
||||
let sign_result = opt_result!(sign_rx.recv(),
|
||||
"Problem receiving, unable to continue: {}");
|
||||
let (_, handle_used, sign_data, device_info) =
|
||||
opt_result!(sign_result, "Sign failed: {}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user