bubble up errors from update_param() and some related functions (#3415)

* bubble up errors from update_param() and some related functions

* log bubbled-up error in ffi
This commit is contained in:
bjoern
2022-06-10 16:41:20 +02:00
committed by GitHub
parent 1fb6d1b59d
commit 78f9383332
4 changed files with 18 additions and 17 deletions

View File

@@ -306,7 +306,7 @@ impl Context {
}
if param_changed {
instance.update_param(self).await;
instance.update_param(self).await?;
self.emit_msgs_changed(instance.chat_id, instance.id);
}