Skip to content

Commit f52696f

Browse files
committed
core: Extra debug logging
1 parent f036c5e commit f52696f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

core/src/cache.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ impl Cache {
328328
if let Some(location) = &self.credentials_location {
329329
let result = File::create(location).and_then(|mut file| {
330330
let data = serde_json::to_string(cred)?;
331+
debug!("Saving credentials at {location:?}");
331332
write!(file, "{data}")
332333
});
333334

core/src/connection/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ pub async fn authenticate(
135135
let cmd = PacketType::Login;
136136
let data = packet.write_to_bytes()?;
137137

138+
debug!("Authenticating with AP using {:?}", credentials.auth_type);
138139
transport.send((cmd as u8, data)).await?;
139140
let (cmd, data) = transport
140141
.next()

0 commit comments

Comments
 (0)