handle unused results

This commit is contained in:
Carson McManus 2021-08-14 11:25:53 -04:00
parent 0bc5ca7016
commit 1258ef6e97

View file

@ -308,7 +308,7 @@ fn main() {
} }
Err(_) => { Err(_) => {
info!("failed to get trade confirmations, asking user to log in"); info!("failed to get trade confirmations, asking user to log in");
do_login(&mut account); do_login(&mut account).expect("Failed to log in");
} }
} }
} }
@ -339,7 +339,7 @@ fn main() {
} }
} }
manifest.save(); manifest.save().expect("Failed to save manifest");
} else if let Some(_) = matches.subcommand_matches("remove") { } else if let Some(_) = matches.subcommand_matches("remove") {
println!( println!(
"This will remove the mobile authenticator from {} accounts: {}", "This will remove the mobile authenticator from {} accounts: {}",