aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-result.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-result.cxx')
-rw-r--r--mod/mod-build-result.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx
index f93d2a0..795ae64 100644
--- a/mod/mod-build-result.cxx
+++ b/mod/mod-build-result.cxx
@@ -433,23 +433,7 @@ handle (request& rq, response&)
sm.out.close ();
if (!sm.wait ())
- {
- diag_record dr (error);
- dr << "sendmail ";
-
- assert (sm.exit);
- const process_exit& e (*sm.exit);
-
- if (e.normal ())
- dr << "exited with code " << static_cast<uint16_t> (e.code ());
- else
- {
- dr << "terminated abnormally: " << e.description ();
-
- if (e.core ())
- dr << " (core dumped)";
- }
- }
+ error << "sendmail " << *sm.exit;
}
// Handle process_error and io_error (both derive from system_error).
//