aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/init.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-06 03:24:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:44:22 +0300
commit9e2b4fd3bbc0c61bf6c84540c52869ec7d830718 (patch)
tree550c9edd5b29b164d7c8c2ac13111a9491495022 /build2/bin/init.cxx
parentc5d118cde064c09a416541a7f7e76d354552b2fd (diff)
Make use of operator<<(ostream, exception)
Diffstat (limited to 'build2/bin/init.cxx')
-rw-r--r--build2/bin/init.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/bin/init.cxx b/build2/bin/init.cxx
index 89dea09..e1b812b 100644
--- a/build2/bin/init.cxx
+++ b/build2/bin/init.cxx
@@ -246,8 +246,7 @@ namespace build2
// This is where we suggest that the user specifies --config-sub
// to help us out.
//
- fail << "unable to parse binutils target '" << s << "': "
- << e.what () <<
+ fail << "unable to parse binutils target '" << s << "': " << e <<
info << "consider using the --config-sub option";
}