Skip to content

Commit

Permalink
fix: updated code for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alenmestrov committed Nov 8, 2024
1 parent e7033f4 commit 606b269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/context-config/src/mutate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ impl ContextConfigs {
#[callback_result] call_result: Result<(), PromiseError>,
) -> Result<(), &'static str> {
if let Err(e) = call_result {
panic!("Failed to update proxy contract: {:?}", e);
env::log_str(&format!("Failed to update proxy contract: {:?}", e));
return Err("Failed to update proxy contract");
}

Ok(())
Expand Down

0 comments on commit 606b269

Please sign in to comment.