From ba540d35f8bf3557d5f3b0c55f7699563201e9b7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Oct 2014 00:57:45 +0100 Subject: Improve error message. --- src/cxml.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ()); -- cgit v1.2.3