From 0c37e7d40e0ea0f3d72102cdf2451d77e20b6f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rx?= Date: Sat, 23 Sep 2023 22:10:47 +0200 Subject: [PATCH] Update crates/teloxide/src/dispatching/dispatcher.rs LGTM Co-authored-by: Waffle Maybe --- crates/teloxide/src/dispatching/dispatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/teloxide/src/dispatching/dispatcher.rs b/crates/teloxide/src/dispatching/dispatcher.rs index 808f9b5d..ce509864 100644 --- a/crates/teloxide/src/dispatching/dispatcher.rs +++ b/crates/teloxide/src/dispatching/dispatcher.rs @@ -304,7 +304,7 @@ where { self.try_dispatch_with_listener(update_listener, update_listener_error_handler) .await - .expect("try_dispatch_with_listener failed") + .expect("Couldn't prepare dispatching context") } /// Same as `dispatch_with_listener` but returns a `Err(_)` instead of