diff --git a/source/shared_lib/sources/xml/xml_parser.cpp b/source/shared_lib/sources/xml/xml_parser.cpp index fa20ec5fa..11676a4fc 100644 --- a/source/shared_lib/sources/xml/xml_parser.cpp +++ b/source/shared_lib/sources/xml/xml_parser.cpp @@ -416,6 +416,9 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map &map } #endif } + catch(megaglest_runtime_error& ex) { + throw megaglest_runtime_error("Error loading XML: "+ path + "\nMessage: " + ex.what(),!ex.wantStackTrace() ); + } catch(const exception &ex) { char szBuf[8096]="";