fix(scenegraph): emit SignalNotFound error for signal

This commit is contained in:
Nova
2022-06-12 11:15:29 -04:00
parent 0a9643ca6c
commit 25edd845c1

View File

@@ -48,7 +48,7 @@ impl<'a> scenegraph::Scenegraph for Scenegraph<'a> {
.ok_or(ScenegraphError::NodeNotFound)?
.borrow()
.send_local_signal(self.get_client(), method, data)
.map_err(|_| ScenegraphError::MethodNotFound)
.map_err(|_| ScenegraphError::SignalNotFound)
}
fn execute_method(
&self,