diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-12-11 09:34:34 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-12-11 10:54:45 +0200 |
commit | 1605867b8e6b37160e527c9439322fc40ac6cce9 (patch) | |
tree | 81946c1e4dec8871a1fbbd6a991959ad2288b5be | |
parent | c64ed7b006943365acdf78feb86ebcff63749fda (diff) | |
download | pandoc-filter-diagram-1605867b8e6b37160e527c9439322fc40ac6cce9.tar.gz |
fix: include stderr in error message when helper fails
Previously, the exit status code was shown, not stderr.
Sponsored-by: author
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ pub enum DiagramError { /// /// This probably implies there's something wrong in the filter. /// Please report this error. - #[error("helper program failed: {0} (as {1}): {2}")] + #[error("helper program failed: {0} (as {1}), exit status {2}:\n{3}")] HelperFailed(String, PathBuf, String, String), /// I/O error |