aboutsummaryrefslogtreecommitdiff
path: root/build2/functions-path.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-22 12:10:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-22 12:10:03 +0200
commit557269660c1d9796a7cf9e911efb9262f645e359 (patch)
tree0323bcb5a90c339fe87fcd193cf71bdcb3431c91 /build2/functions-path.cxx
parentfae6cd2235c907e077dad7b5d8dc9b6d90a78a37 (diff)
Use diagnostics facility from libbutl
Diffstat (limited to 'build2/functions-path.cxx')
-rw-r--r--build2/functions-path.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/build2/functions-path.cxx b/build2/functions-path.cxx
index b76b277..c97518c 100644
--- a/build2/functions-path.cxx
+++ b/build2/functions-path.cxx
@@ -17,8 +17,7 @@ namespace build2
}
catch (const invalid_path& e)
{
- error << "invalid path: '" << e.path << "'";
- throw failed ();
+ fail << "invalid path: '" << e.path << "'" << endf;
}
void