diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-15 16:26:23 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-16 13:03:13 +0300 |
commit | 8b69cab7c802a0d0bd9cc90da33002dd5f86042f (patch) | |
tree | b7bc7c020ffb440b5b8f203ed4a91d9f0f5793a2 /bpkg/rep-info.cxx | |
parent | 564801acd608513adb07244829735ffb2669685d (diff) |
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r-- | bpkg/rep-info.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index cdad96b..355d8b8 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -242,7 +242,7 @@ namespace bpkg { fail << "unable to serialize manifest: " << e.description; } - catch (const ostream::failure&) + catch (const io_error&) { fail << "unable to write to STDOUT"; } |