Skip to content

Commit

Permalink
refactor(host): add error trace
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Jul 16, 2024
1 parent ea8f6fb commit 38f9e17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion host/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ impl ProofActor {
.await?;

let (status, proof) = match handle_proof(&proof_request, opts, chain_specs).await {
Err(error) => (error.into(), None),
Err(error) => {
error!("{error}");
(error.into(), None)
}
Ok(proof) => (TaskStatus::Success, Some(serde_json::to_vec(&proof)?)),
};

Expand Down

0 comments on commit 38f9e17

Please sign in to comment.