Skip to content

Commit

Permalink
chore: use causes formating (#40)
Browse files Browse the repository at this point in the history
/// To print causes as well using anyhow's default formatting of causes,
use the
/// alternate selector "{:#}"
  • Loading branch information
JustSimplyKyle authored Aug 26, 2023
2 parents f3dba32 + c97bfe2 commit 8b30950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/native/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ pub async fn minecraft_login_flow(skin: StreamSink<LoginFlowEvent>) -> anyhow::R
}
Err(e) => {
skin.add(LoginFlowEvent::Error(LoginFlowErrors::UnknownError(
e.to_string(),
format!("{e:#}"),
)));
warn!("Failed to login minecraft account: {:#?}", e);
warn!("Failed to login minecraft account: {:#}", e);
}
}

Expand Down

0 comments on commit 8b30950

Please sign in to comment.