From c93022028f452e22b7bafaa361e57ef98826f5fb Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Fri, 15 Apr 2022 12:48:10 +0400 Subject: [PATCH] Log allowed updates This will be useful for debugging --- src/dispatching/dispatcher.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatching/dispatcher.rs b/src/dispatching/dispatcher.rs index d83ad9cd..f458c23f 100644 --- a/src/dispatching/dispatcher.rs +++ b/src/dispatching/dispatcher.rs @@ -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);