mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +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.
|
||||
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);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue