- do not show error type message when checking existence of language values

This commit is contained in:
Mark Vejvoda
2011-05-24 03:44:54 +00:00
parent cd4a77e1a2
commit 1f1c0f34a3

View File

@@ -100,7 +100,7 @@ bool Lang::hasString(const string &s, string language) {
} }
catch(exception &ex) { catch(exception &ex) {
if(strings.getpath() != "") { if(strings.getpath() != "") {
SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] for language [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),language.c_str()); if(SystemFlags::VERBOSE_MODE_ENABLED) SystemFlags::OutputDebug(SystemFlags::debugError,"In [%s::%s Line: %d] Error [%s] for language [%s]\n",__FILE__,__FUNCTION__,__LINE__,ex.what(),language.c_str());
} }
} }
return hasString; return hasString;