more verbosity.
This commit is contained in:
@ -71,6 +71,8 @@ async fn handler(
|
||||
match command {
|
||||
Command::Help => cx.answer(Command::descriptions()).send().await?,
|
||||
Command::HostTemperature => {
|
||||
info!("querying command {} with arg {}", console_command, console_arg);
|
||||
|
||||
let cmd = std::process::Command::new(&console_command)
|
||||
.arg(&console_arg)
|
||||
.stdout(std::process::Stdio::piped())
|
||||
@ -88,6 +90,8 @@ async fn handler(
|
||||
.await?
|
||||
}
|
||||
Command::RoomTemperature => {
|
||||
info!("sending request to {}", dsn);
|
||||
|
||||
let response = match reqwest::get(&dsn).await {
|
||||
Ok(response) => response,
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user