Browse Source

!10770 告警码错误修复
Merge pull request !10770 from 80310970/IDCerRTAadd_CJL

Gifur 3 months ago
parent
commit
fd8434fa4c

+ 2 - 2
Module/mod_vtmloader/VtmLoaderFSM.cpp

@@ -3052,7 +3052,7 @@ DWORD CVtmLoaderFSM::GetCenterCfgThread()
 	if (ret != ErrorCodeEnum::Error_Succeed)
 	{
 		LogWarn(Severity_High, Error_Unexpect, VtmLoader_CenterSettingConnectFailed,
-			CSimpleStringA::Format("下载集中配置失败:%d", ret));
+			CSimpleStringA::Format("下载集中配置失败:%s", SpStrError(ret)));
 		DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_USER).setLogCode("QLR0402101Z01").setResultCode("RTA1104")("集中配置下载失败");
 		return -1;
 	}
@@ -3062,7 +3062,7 @@ DWORD CVtmLoaderFSM::GetCenterCfgThread()
 		return -1;
 	}
 
-	LogWarn(Severity_Low, Error_Succeed, VtmLoader_CenterSettingConnectFailed,
+	LogWarn(Severity_Low, Error_Succeed, VtmLoader_CenterSettingUpdateSucceed,
 		CSimpleStringA::Format("下载集中配置成功,版本号变更成:%s", version.GetData()));
 
 	if (isReset)

+ 2 - 1
Module/mod_vtmloader/VtmLoader_UserCode.h

@@ -29,4 +29,5 @@ const int VtmLoader_SIPPhoneEntityLoad_Cost = 0x10f0021c;
 const int VtmLoader_DepDirCopyFailed = 0x10f0021d;
 const int VtmLoader_DepDirCopySuc = 0x10f0021e;
 const int VtmLoader_InfoAboutBootCost = 0x10f0021f;
-const int VtmLoader_CenterSettingConnectFailed = 0x10f00220;
+const int VtmLoader_CenterSettingConnectFailed = 0x10f00220;
+const int VtmLoader_CenterSettingUpdateSucceed = 0x10f00221;