- do not show error type message when checking existence of language values
This commit is contained in:
parent
cd4a77e1a2
commit
1f1c0f34a3
|
@ -100,7 +100,7 @@ bool Lang::hasString(const string &s, string language) {
|
|||
}
|
||||
catch(exception &ex) {
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue