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:
parent
e748d543e9
commit
9a31aa0362
4 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue