mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-24 09:16:12 +01:00
Remove dbg! macro in favour of log::error! macro
This commit is contained in:
parent
43f8e73973
commit
1bd47314be
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
// Send it off! One thing to note -- the ID we use here must be of the query we're responding to.
|
||||||
let response =
|
let response =
|
||||||
query.requester.answer_inline_query(&query.update.id, results).send().await;
|
query.requester.answer_inline_query(&query.update.id, results).send().await;
|
||||||
if response.is_err() {
|
if let Err(err) = response {
|
||||||
dbg!(response);
|
log::error!("Error in handler: {:?}", err);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue