aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r--bpkg/auth.cxx6
1 files changed, 2 insertions, 4 deletions
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.
}