From c0beefe2cf222875b47476332b725fe0c5c55d77 Mon Sep 17 00:00:00 2001 From: Brechtpd Date: Thu, 18 Apr 2024 23:27:58 +0200 Subject: [PATCH] cleaner error string --- provers/sgx/prover/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provers/sgx/prover/src/lib.rs b/provers/sgx/prover/src/lib.rs index 3bac745e..0cb62f31 100644 --- a/provers/sgx/prover/src/lib.rs +++ b/provers/sgx/prover/src/lib.rs @@ -300,7 +300,7 @@ fn handle_output(output: &Output, name: &str) -> ProverResult<(), String> { ); if !output.status.success() { return Err(format!( - "{} encountered an error {}: {}", + "{} encountered an error ({}): {}", name, output.status.to_string(), String::from_utf8_lossy(&output.stderr),