diff options
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r-- | bpkg/help.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx index cf496ca..3d5efb8 100644 --- a/bpkg/help.cxx +++ b/bpkg/help.cxx @@ -50,10 +50,16 @@ namespace bpkg // return p.wait () ? 0 : 1; } + // Catch ios_base::failure as std::system_error together with the + // pager-specific exceptions. + // catch (const system_error& e) { error << "pager failed: " << e.what (); - throw failed (); + + // Fall through. } + + throw failed (); } } |