Output stuff with the correct macros

This commit is contained in:
Erwin Boskma 2022-01-14 10:19:07 +01:00
parent 0449580b9b
commit 633d0c4bb6
Signed by: erwin
GPG key ID: 270B20D17394F7E5

View file

@ -85,7 +85,7 @@ fn main() -> Result<()> {
None None
} }
} else { } else {
eprintln!("No API token given. Use either --token or --token-file"); println!("No API token given. Use either --token or --token-file");
None None
}; };
@ -98,7 +98,6 @@ fn main() -> Result<()> {
.wrap_err("Unable to retrieve now playing info")?; .wrap_err("Unable to retrieve now playing info")?;
} }
} }
// println!("{:#?}", response);
Ok(()) Ok(())
} }
@ -204,7 +203,7 @@ fn call_service(
.send()? .send()?
.json::<serde_json::Value>()?; .json::<serde_json::Value>()?;
println!("{:#?}", response); debug!("{:#?}", response);
Ok(()) Ok(())
} }