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
|
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(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue