From 82bfbf9d203c0e2590925c61845f71802c894b1a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 29 Nov 2018 12:25:10 -0800 Subject: [PATCH] Add more context to a wasm-bindgen-test-runner error Minor cleanup I found during #1002 --- crates/cli/src/bin/wasm-bindgen-test-runner/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs index 522f6310..4f5c57da 100644 --- a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs +++ b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs @@ -155,7 +155,7 @@ fn rmain() -> Result<(), Error> { &tmpdir, &args.collect::>(), &tests, - )?; + ).context("failed to spawn server")?; let addr = srv.server_addr(); // TODO: eventually we should provide the ability to exit at some point