diff options
Diffstat (limited to 'bbot/utility.txx')
-rw-r--r-- | bbot/utility.txx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bbot/utility.txx b/bbot/utility.txx index edfc3a7..5ac8995 100644 --- a/bbot/utility.txx +++ b/bbot/utility.txx @@ -52,8 +52,7 @@ namespace bbot const process_exit& e (*pr.exit); if (!e.normal ()) - fail (fh) << "process " << p << " terminated abnormally: " - << e.description () << (e.core () ? " (core dumped)" : ""); + fail (fh) << "process " << p << " " << e; return e.code (); } @@ -68,7 +67,7 @@ namespace bbot run_io_finish (tracer& t, process& pr, const P& p, bool fh) { if (run_io_finish_exit (t, pr, p, fh) != 0) - fail (fh) << "process " << p << " terminated with non-zero exit code"; + fail (fh) << "process " << p << " exited with non-zero code"; } template <typename I, typename O, typename E, typename P, typename... A> |