log: remove logging of unhandled messages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
03a46667d2
commit
49026a2d17
@ -234,8 +234,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
Dispatcher::builder(bot, handler)
|
||||
.dependencies(dptree::deps![db_pool])
|
||||
.default_handler(|upd| async move {
|
||||
println!("unhandled update: {:?}", upd);
|
||||
.default_handler(|_upd| async move {
|
||||
})
|
||||
.error_handler(LoggingErrorHandler::with_custom_text("error during dispatch"))
|
||||
.enable_ctrlc_handler()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user