Output stuff with the correct macros
This commit is contained in:
parent
0449580b9b
commit
633d0c4bb6
1 changed files with 2 additions and 3 deletions
|
@ -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::<serde_json::Value>()?;
|
||||
|
||||
println!("{:#?}", response);
|
||||
debug!("{:#?}", response);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue