temporarly use println
Some checks failed
Build && Deploy / cargo build (push) Has been cancelled

This commit is contained in:
Akulij 2025-05-31 14:57:39 +05:00
parent a2455008ba
commit 198c363038

View File

@ -141,7 +141,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
let user = update_user_tg(user, &tguser);
user.update_user(&mut db).await?;
info!("Is handler set: {}", bm.get_handler().is_some());
println!("Is handler set: {}", bm.get_handler().is_some());
let is_propagate: bool = match bm.get_handler() {
Some(handler) => 'prop: {
let ctx = match handler.context() {
@ -150,7 +150,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
None => break 'prop true,
};
let jsuser = to_js(ctx, &tguser).unwrap();
info!(
println!(
"Calling handler {:?} with msg literal: {:?}",
handler,
bm.literal()