diff options
-rw-r--r-- | bpkg/bpkg.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx index be38297..0da8c58 100644 --- a/bpkg/bpkg.cxx +++ b/bpkg/bpkg.cxx @@ -246,9 +246,14 @@ init (const common_options& co, }), o); } + catch (const pair<path, system_error>& e) + { + fail << "unable to load default options files: " << e.first << ": " + << e.second; + } catch (const system_error& e) { - fail << "unable to load default options files: " << e; + fail << "unable to obtain home directory: " << e; } // Global initializations. |