handle megaglest_runtime_error
This commit is contained in:
parent
28bcf81626
commit
a982ce7b0c
|
@ -416,6 +416,9 @@ XmlNode *XmlIoRapid::load(const string &path, const std::map<string,string> &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]="";
|
||||
|
||||
|
|
Loading…
Reference in New Issue