mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +01:00
Log allowed updates
This will be useful for debugging
This commit is contained in:
parent
dbe45fb49f
commit
c93022028f
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ where
|
|||
|
||||
let description = self.handler.description();
|
||||
let allowed_updates = description.allowed_updates();
|
||||
log::debug!("hinting allowed updates: {:?}", allowed_updates);
|
||||
update_listener.hint_allowed_updates(&mut allowed_updates.into_iter());
|
||||
|
||||
let shutdown_check_timeout = shutdown_check_timeout_for(&update_listener);
|
||||
|
|
Loading…
Reference in a new issue