diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-06 03:24:33 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-01-09 21:44:22 +0300 |
commit | 9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 (patch) | |
tree | 550c9edd5b29b164d7c8c2ac13111a9491495022 /build2/cli/rule.cxx | |
parent | c5d118cde064c09a416541a7f7e76d354552b2fd (diff) |
Make use of operator<<(ostream, exception)
Diffstat (limited to 'build2/cli/rule.cxx')
-rw-r--r-- | build2/cli/rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx index 59a5d66..5b78723 100644 --- a/build2/cli/rule.cxx +++ b/build2/cli/rule.cxx @@ -301,7 +301,7 @@ namespace build2 } catch (const process_error& e) { - error << "unable to execute " << args[0] << ": " << e.what (); + error << "unable to execute " << args[0] << ": " << e; if (e.child ()) exit (1); |