Skip to content

Commit

Permalink
added error output
Browse files Browse the repository at this point in the history
  • Loading branch information
vbar committed Jun 17, 2024
1 parent 6984652 commit fdb17dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node/in_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,10 @@ impl<S: ForkSource + std::fmt::Debug + Clone> InMemoryNode<S> {
for b in vm.get_last_tx_compressed_bytecodes().iter() {
let hashcode = match bytecode_to_factory_dep(b.original.clone()) {
Ok(hc) => hc,
Err(error) => { return Err(error.to_string()); }
Err(error) => {
tracing::error!("{}", format!("cannot convert bytecode: {}", error).on_red());
return Err(error.to_string());
}
};
bytecodes.insert(hashcode.0, hashcode.1);
}
Expand Down

0 comments on commit fdb17dd

Please sign in to comment.