aboutsummaryrefslogtreecommitdiff
path: root/bpkg/archive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/archive.cxx')
-rw-r--r--bpkg/archive.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx
index 89bb0ed..ee3feab 100644
--- a/bpkg/archive.cxx
+++ b/bpkg/archive.cxx
@@ -125,12 +125,11 @@ namespace bpkg
// archive name. So print the error message whatever the child exit status
// is.
//
- error << "unable to extract " << f << " from " << a;
- throw failed ();
+ fail << "unable to extract " << f << " from " << a << endf;
}
catch (const process_error& e)
{
- error << "unable to extract " << f << " from " << a << ": " << e.what ();
- throw failed ();
+ fail << "unable to extract " << f << " from " << a << ": " << e.what ()
+ << endf;
}
}