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/auth.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bpkg/auth.cxx') diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 4ea0e4b..8cb1ed4 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -420,10 +420,8 @@ namespace bpkg // parsing diagnostics since we were probably parsing garbage. // if (pr.wait ()) - { - error << "invalid certificate for " << repo << ": " << e.what (); - throw failed (); - } + fail << "invalid certificate for " << repo << ": " << e.what () + << endf; // Fall through. } -- cgit v1.1