We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76d13b1 commit 0ea6d36Copy full SHA for 0ea6d36
1 file changed
linera-client/src/client_context.rs
@@ -816,10 +816,10 @@ impl<Env: Environment> ClientContext<Env> {
816
info!("Loading bytecode files");
817
let contract_bytecode = Bytecode::load_from_file(&contract)
818
.await
819
- .with_context(|| format!("failed to load contract bytecode from {:?}", &contract))?;
+ .map_err(error::Inner::from)?;
820
let service_bytecode = Bytecode::load_from_file(&service)
821
822
- .with_context(|| format!("failed to load service bytecode from {:?}", &service))?;
823
824
info!("Publishing module");
825
let (blobs, module_id) =
0 commit comments