diff --git a/plugin/src/plugin.rs b/plugin/src/plugin.rs index 5c71a9e..ccca087 100644 --- a/plugin/src/plugin.rs +++ b/plugin/src/plugin.rs @@ -210,12 +210,7 @@ impl<'a, T: 'a + Clone> Plugin { fn handle_notification(&'a mut self, name: &str, params: serde_json::Value) { let notification = self.rpc_notification.get(name).unwrap().clone(); - if let Err(json_res) = notification.call(self, params) { - self.log( - LogLevel::Debug, - format!("Notification end with and error: {json_res}").as_str(), - ); - } + notification.call_void(self, ¶ms); } pub fn register_hook(