Skip to content

Commit

Permalink
Print proper error message when running wasmer login
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Nov 24, 2022
1 parent 98f8d86 commit bc3ef99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/commands/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl Login {
let token = self.get_token_or_ask_user()?;
match wasmer_registry::login::login_and_save_token(&self.registry, &token)? {
Some(s) => println!("Login for WAPM user {:?} saved", s),
None => println!("Login for WAPM user saved"),
None => println!("Error: no user found on registry {:?} with token {:?}. Token saved regardless.", self.registry, token),
}
Ok(())
}
Expand Down

0 comments on commit bc3ef99

Please sign in to comment.