From 633d0c4bb660b7f4139e12ef8d49cf6afd75831c Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 14 Jan 2022 10:19:07 +0100 Subject: [PATCH] Output stuff with the correct macros --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 69223a4..6281ae3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,7 +85,7 @@ fn main() -> Result<()> { None } } else { - eprintln!("No API token given. Use either --token or --token-file"); + println!("No API token given. Use either --token or --token-file"); None }; @@ -98,7 +98,6 @@ fn main() -> Result<()> { .wrap_err("Unable to retrieve now playing info")?; } } - // println!("{:#?}", response); Ok(()) } @@ -204,7 +203,7 @@ fn call_service( .send()? .json::()?; - println!("{:#?}", response); + debug!("{:#?}", response); Ok(()) }