Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12264 - ehuss:container-poison-error, r=weihanglo
Show a better error when container tests fail. This adds a better error message when a container test fails to build a container. Previously the output would look something like: ``` ---- ssh::ssh_key_in_config stdout ---- SSH_AGENT_PID=69284 thread 'ssh::ssh_key_in_config' panicked at 'called `Result::unwrap()` on an `Err` value: PoisonError { .. }', crates/cargo-test-support/src/containers.rs:97:39 ``` Now it looks like: ``` ---- ssh::ssh_key_in_config stdout ---- SSH_AGENT_PID=44281 thread 'ssh::ssh_key_in_config' panicked at 'previous docker build failed, unable to run test', crates/cargo-test-support/src/containers.rs:97:51 ```
- Loading branch information