Remove dbg! macro in favour of log::error! macro

This commit is contained in:
Colin Diener 2021-08-19 11:05:56 -07:00
parent 43f8e73973
commit 1bd47314be

View file

@ -58,8 +58,8 @@ async fn run() {
// Send it off! One thing to note -- the ID we use here must be of the query we're responding to.
let response =
query.requester.answer_inline_query(&query.update.id, results).send().await;
if response.is_err() {
dbg!(response);
if let Err(err) = response {
log::error!("Error in handler: {:?}", err);
}
})
})