fix:[TD-31696]print error log to screen if parsing config file error for client

This commit is contained in:
wangmm0220 2024-08-29 11:25:57 +08:00
parent a2e7e18440
commit c7776e9dac
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ int32_t cfgSetItem(SConfig *pCfg, const char *name, const char *value, ECfgSrcTy
}
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));
}
TAOS_RETURN(code);