Print stdout when mdbook test failed
This commit is contained in:
parent
4974d2cfa1
commit
f2544e0707
1 changed files with 2 additions and 1 deletions
|
|
@ -107,6 +107,7 @@ pub mod errors {
|
||||||
errors {
|
errors {
|
||||||
Subprocess(message: String, output: ::std::process::Output) {
|
Subprocess(message: String, output: ::std::process::Output) {
|
||||||
description("A subprocess failed")
|
description("A subprocess failed")
|
||||||
|
display("{}: {}", message, String::from_utf8_lossy(&output.stdout))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue