mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 14:45:42 +00:00
Fix error handling in sandboxing/contracts modules (#744)
* Fix error handling in sandboxing/contracts modules * Add some docs. * Add some tests. * grammar
This commit is contained in:
committed by
Gav Wood
parent
400a22ebe5
commit
488830e81a
@@ -271,7 +271,7 @@ impl<T> Instance<T> {
|
||||
state,
|
||||
defined_host_functions: &defined_host_functions,
|
||||
};
|
||||
let instance = not_started_instance.run_start(&mut externals).map_err(|_| Error::Module)?;
|
||||
let instance = not_started_instance.run_start(&mut externals).map_err(|_| Error::Execution)?;
|
||||
instance
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user