setup: debug print full authenticator status when verification fails (#396)

This commit is contained in:
Carson McManus 2024-07-16 20:32:18 -04:00 committed by GitHub
parent dd153a617c
commit 96a30c6150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.");