From 8749eeea8723196fa38a9eb7917775cfe8b87ad7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Nov 2016 12:09:27 +0200 Subject: Use diagnostics facility from libbutl --- bpkg/pkg-verify.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-verify.cxx') diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index 9097dab..c26f8e9 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -106,9 +106,8 @@ namespace bpkg { // Note: this is not an "invalid package" case, so no diag check. // - error << "unable to extract manifest file from " << af << ": " - << e.what (); - throw failed (); + fail << "unable to extract manifest file from " << af << ": " + << e.what () << endf; } package_manifest -- cgit v1.1