aboutsummaryrefslogtreecommitdiff
path: root/bpkg/archive.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/archive.cxx')
-rw-r--r--bpkg/archive.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/bpkg/archive.cxx b/bpkg/archive.cxx
index fb7956d..3961aba 100644
--- a/bpkg/archive.cxx
+++ b/bpkg/archive.cxx
@@ -78,7 +78,7 @@ namespace bpkg
}
catch (const process_error& e)
{
- error << "unable to execute " << args[0] << ": " << e.what ();
+ error << "unable to execute " << args[0] << ": " << e;
if (e.child ())
exit (1);
@@ -126,7 +126,6 @@ namespace bpkg
}
catch (const process_error& e)
{
- fail << "unable to extract " << f << " from " << a << ": " << e.what ()
- << endf;
+ fail << "unable to extract " << f << " from " << a << ": " << e << endf;
}
}