fix:[TD-31696]print error log to screen if parsing config file error for client
This commit is contained in:
parent
a2e7e18440
commit
c7776e9dac
|
@ -384,7 +384,7 @@ int32_t cfgSetItem(SConfig *pCfg, const char *name, const char *value, ECfgSrcTy
|
||||||
}
|
}
|
||||||
|
|
||||||
if (code != 0){
|
if (code != 0){
|
||||||
uError("cfg:%s, type:%s src:%s value:%s failed since %s", pItem->name, cfgDtypeStr(pItem->dtype),
|
printf("cfg:%s, type:%s src:%s value:%s failed since %s\n", pItem->name, cfgDtypeStr(pItem->dtype),
|
||||||
cfgStypeStr(stype), value, tstrerror(code));
|
cfgStypeStr(stype), value, tstrerror(code));
|
||||||
}
|
}
|
||||||
TAOS_RETURN(code);
|
TAOS_RETURN(code);
|
||||||
|
|
Loading…
Reference in New Issue