summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-15 00:57:45 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-15 00:57:45 +0100
commitba540d35f8bf3557d5f3b0c55f7699563201e9b7 (patch)
tree613bafc4fe75b3712646139c94998e5a13885602 /src
parent495a66b3bd82dd7db8f0bfa514acb6fbc79e4d41 (diff)
Improve error message.
Diffstat (limited to 'src')
-rw-r--r--src/cxml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.cc b/src/cxml.cc
index 810abf8..2aad081 100644
--- a/src/cxml.cc
+++ b/src/cxml.cc
@@ -253,7 +253,7 @@ void
cxml::Document::read_file (filesystem::path file)
{
if (!filesystem::exists (file)) {
- throw cxml::Error ("XML file does not exist");
+ throw cxml::Error ("XML file " + file.string() + " does not exist");
}
_parser->parse_file (file.string ());