diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-22 12:09:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-22 12:09:27 +0200 |
commit | 8749eeea8723196fa38a9eb7917775cfe8b87ad7 (patch) | |
tree | b9c3fb8f82ce2227f98d9ee40740906e8d4ab235 /bpkg/rep-create.cxx | |
parent | aea4e5401af4e28a32d99e0e3c2ecd42888c2ba4 (diff) |
Use diagnostics facility from libbutl
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r-- | bpkg/rep-create.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index ac58936..43f052c 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -167,8 +167,7 @@ namespace bpkg } catch (const system_error& e) { - error << "unable to scan directory " << d << ": " << e.what (); - throw failed (); + fail << "unable to scan directory " << d << ": " << e.what () << endf; } int @@ -278,7 +277,6 @@ namespace bpkg } catch (const invalid_path& e) { - error << "invalid path: '" << e.path << "'"; - throw failed (); + fail << "invalid path: '" << e.path << "'" << endf; } } |