Skip to content

Commit

Permalink
setup: debug print full authenticator status when verification fails (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Jul 17, 2024
1 parent dd153a6 commit 96a30c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ impl SetupCommand {
"authenticator state: {} -- did not actually finalize",
status.state()
);
debug!("full status: {:#?}", status);
manager.remove_account(&account_name);
manager.save()?;
bail!("Authenticator finalization was unsuccessful. You may have entered the wrong confirm code in the previous step. Try again.");
Expand Down

0 comments on commit 96a30c6

Please sign in to comment.