aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-23 13:21:23 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-23 13:21:23 +0300
commit0086b0546831bcd70814bd732c1aad9ecfc38d3b (patch)
tree776293aca32fa5dd0473ad45747965cfe3512c9f /bpkg/manifest-utility.cxx
parentb4b4163e453b5e8da9cd61c60c8dab2487519a9a (diff)
Adapt to inheriting butl::invalid_path from std::invalid_argument
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index 484ba32..c329108 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -131,14 +131,14 @@ namespace bpkg
dr << endf;
}
}
- catch (const invalid_argument& e)
- {
- fail << "invalid repository location '" << s << "': " << e << endf;
- }
catch (const invalid_path& e)
{
fail << "invalid repository path '" << s << "': " << e << endf;
}
+ catch (const invalid_argument& e)
+ {
+ fail << "invalid repository location '" << s << "': " << e << endf;
+ }
catch (const system_error& e)
{
fail << "failed to guess repository type for '" << s << "': " << e << endf;