From 1258ef6e97b093eb3e47d24960586ae64923993e Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sat, 14 Aug 2021 11:25:53 -0400 Subject: [PATCH] handle unused results --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 99ff3a7..825e4c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -308,7 +308,7 @@ fn main() { } Err(_) => { 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") { println!( "This will remove the mobile authenticator from {} accounts: {}",