|
@@ -798,7 +798,7 @@ public:
|
|
|
, funPath.GetData(), devApi.GetData(), SpStrError(m_errPkgEx.errCode), csErrMsg);
|
|
|
CSimpleStringA csErrMsgWithReturnCode = CSimpleStringA::Format("{\"returnCode\":%d, \"context\":\"%s\", \"errMsg\":\"%s\"}", errCode, csErrMsg.GetData()).GetData();
|
|
|
CSimpleStringA tmpRTA(true), tmpDesc(true);
|
|
|
- if (this->GetEntityBase()->GetFunction()->GetVTMErrMsg(dwCode, tmpRTA, tmpDesc) != Error_Succeed)
|
|
|
+ if (this->GetEntityBase()->GetFunction()->GetVTMErrMsg(dwCode, tmpDesc, tmpRTA) != Error_Succeed)
|
|
|
tmpRTA = CSimpleStringA::Format("%d", dwCode);//if map failed, use dwCode instead
|
|
|
if (bInBusiness) {
|
|
|
LogError(Severity_High, m_errPkgEx.errCode, dwCode, alarmMsg.GetData());
|