Skip to content

Commit a285a01

Browse files
committed
fixup! Improve cancellation and error handling in integration tests
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent a6042a2 commit a285a01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/wasm_sandbox/src/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ impl WasmComponentSandbox {
284284
Ok(wit_result) => {
285285
let wit_result = wit_result.map_err(|error| {
286286
let message = format!("guest execution failed: {error}");
287-
anyhow::Error::from(error).context(message)
287+
error.context(message)
288288
})?;
289289
Ok(ExecutionResult {
290290
stdout: wit_result.stdout,

0 commit comments

Comments
 (0)