1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 10:49:40 +02:00

Pretty-print trace messages

This commit is contained in:
Roderick van Domburg 2021-12-11 20:45:08 +01:00
parent e748d543e9
commit 9a31aa0362
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
4 changed files with 5 additions and 5 deletions

View file

@ -87,7 +87,7 @@ impl TokenProvider {
.expect("No tokens received")
.to_vec();
let token = Token::new(String::from_utf8(data).unwrap()).map_err(|_| MercuryError)?;
trace!("Got token: {:?}", token);
trace!("Got token: {:#?}", token);
self.lock(|inner| inner.tokens.push(token.clone()));
Ok(token)
}