Add more context to a wasm-bindgen-test-runner error

Minor cleanup I found during #1002
This commit is contained in:
Alex Crichton 2018-11-29 12:25:10 -08:00
parent bbde39fe66
commit 82bfbf9d20

View File

@ -155,7 +155,7 @@ fn rmain() -> Result<(), Error> {
&tmpdir,
&args.collect::<Vec<_>>(),
&tests,
)?;
).context("failed to spawn server")?;
let addr = srv.server_addr();
// TODO: eventually we should provide the ability to exit at some point