aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index 2d682f8..da44d3b 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -5,7 +5,6 @@
#include <bpkg/rep-create>
#include <map>
-#include <iostream>
#include <butl/fdstream>
#include <butl/filesystem> // dir_iterator
@@ -263,7 +262,7 @@ namespace bpkg
{
fail << "unable to save manifest: " << e.description;
}
- catch (const ofdstream::failure& e)
+ catch (const io_error& e)
{
fail << "unable to write to " << p << ": " << e.what ();
}