mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
- added code to now output all eerors to console (with option to save in log file)
- added more LUA debug info
This commit is contained in:
@@ -439,8 +439,7 @@ void Program::setState(ProgramState *programState, bool cleanupOldState)
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
}
|
||||
catch(const exception &e){
|
||||
//exceptionMessage(e);
|
||||
//throw runtime_error(e.what());
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s]\n",__FILE__,__FUNCTION__,__LINE__,e.what());
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
this->showMessage(e.what());
|
||||
setState(new Intro(this));
|
||||
|
Reference in New Issue
Block a user