aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/bdep.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/bdep/bdep.cxx b/bdep/bdep.cxx
index 7e6435f..c8fe18b 100644
--- a/bdep/bdep.cxx
+++ b/bdep/bdep.cxx
@@ -231,9 +231,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.