diff options
Diffstat (limited to 'azalea-client/src')
| -rwxr-xr-x | azalea-client/src/account.rs | 5 | ||||
| -rw-r--r-- | azalea-client/src/client.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs index 24023d5b..87573de0 100755 --- a/azalea-client/src/account.rs +++ b/azalea-client/src/account.rs @@ -7,6 +7,7 @@ use azalea_auth::AccessTokenResponse; use bevy_ecs::component::Component; use parking_lot::Mutex; use thiserror::Error; +use tracing::trace; use uuid::Uuid; /// Something that can join Minecraft servers. @@ -135,7 +136,7 @@ impl Account { /// the authentication process (like doing your own caching or /// displaying the Microsoft user code to the user in a different way). /// - /// Note that this will not refresh the token when it expires. + /// This will refresh the given token if it's expired. /// /// ``` /// # use azalea_client::Account; @@ -170,7 +171,7 @@ impl Account { let client = reqwest::Client::new(); if msa.is_expired() { - tracing::trace!("refreshing Microsoft auth token"); + trace!("refreshing Microsoft auth token"); msa = azalea_auth::refresh_ms_auth_token( &client, &msa.data.refresh_token, diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 02d400fd..6cb590df 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -601,7 +601,7 @@ impl Client { } if self.logged_in() { - tracing::debug!( + debug!( "Sending client information (already logged in): {:?}", client_information ); |
