Update of /cvsroot/objecthandler/ObjectHandler/oh
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16441/oh
Modified Files:
utilities.cpp
Log Message:
Index: utilities.cpp
===================================================================
RCS file: /cvsroot/objecthandler/ObjectHandler/oh/utilities.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** utilities.cpp 19 Jun 2006 11:02:38 -0000 1.8
--- utilities.cpp 19 Jun 2006 12:58:14 -0000 1.9
***************
*** 45,49 ****
// so this function must not throw
try {
! ObjectHandler::instance().setLastErrorMessage(message);
Logger::instance().logMessage(message, level);
} catch (...) {}
--- 45,50 ----
// so this function must not throw
try {
! if (level == 2) // loglevel 2 = error message
! ObjectHandler::instance().setLastErrorMessage(message);
Logger::instance().logMessage(message, level);
} catch (...) {}
|