diff --git a/src/main.rs b/src/main.rs index 486d9a1..488dc14 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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) => {