diff --git a/gcli/src/meta/executor.rs b/gcli/src/meta/executor.rs index 7e983cac0c0..6a3e17b83a8 100644 --- a/gcli/src/meta/executor.rs +++ b/gcli/src/meta/executor.rs @@ -63,7 +63,7 @@ fn execute(wasm: &[u8], method: &str) -> Result> { } } - let instance = Instance::new(&mut store, &module, &imports).unwrap(); + let instance = Instance::new(&mut store, &module, &imports)?; let metadata = instance .exports .get_function(method)