Update crates/teloxide/src/dispatching/dispatcher.rs

LGTM

Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
Jérôme Rx 2023-09-23 22:10:47 +02:00 committed by GitHub
parent 1452695a15
commit 0c37e7d40e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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