|
@@ -480,8 +480,8 @@ DWORD CInitializerConn::HandleLoginRet(const CSmartPointer<IPackage> &pRecvPkg)
|
|
|
string strErrMsg;
|
|
|
if (pRecvPkg->GetErrMsg(dwSysCode, dwUserCode, strErrMsg))
|
|
|
{
|
|
|
- Dbg("0");
|
|
|
- //在分行服务定义的错误码,值与EventCode.h中的对应
|
|
|
+ const std::string errStr = SP::Utility::GBK2UTF8(strErrMsg);
|
|
|
+ strErrMsg = errStr;
|
|
|
LogWarn(Severity_Middle,(ErrorCodeEnum) dwSysCode, dwUserCode,
|
|
|
GetOutPutStr("%s%08X%s%s", "GetErrMsg", dwUserCode,"strErrMsg", strErrMsg.c_str()).c_str());
|
|
|
rc = dwUserCode;
|
|
@@ -499,7 +499,8 @@ DWORD CInitializerConn::HandleCloseTaskRet(const CSmartPointer<IPackage> &pRecvP
|
|
|
if (pRecvPkg->GetErrMsg(dwSysCode, dwUserCode, strErrMsg))
|
|
|
{
|
|
|
rc = dwUserCode;
|
|
|
-
|
|
|
+ const std::string errStr = SP::Utility::GBK2UTF8(strErrMsg);
|
|
|
+ strErrMsg = errStr;
|
|
|
LogWarn(Severity_Middle, Error_Unexpect, rc,
|
|
|
GetOutPutStr("%s%08X%s%s", "GetErrMsg", rc, "strErrMsg", strErrMsg.c_str()).c_str());
|
|
|
}
|
|
@@ -605,6 +606,8 @@ DWORD CInitializerConn::HandleGetKMCKey(const CSmartPointer<IPackage>& pRecvPkg)
|
|
|
if (pRecvPkg->GetErrMsg(dwSysCode, dwUserCode, strErrMsg))
|
|
|
{
|
|
|
rc = dwUserCode;
|
|
|
+ const std::string errStr = SP::Utility::GBK2UTF8(strErrMsg);
|
|
|
+ strErrMsg = errStr;
|
|
|
LogWarn(Severity_Middle, (ErrorCodeEnum)dwSysCode, dwUserCode,
|
|
|
GetOutPutStr("%s%08X%s%s", "GetErrMsg", rc, "strErrMsg", strErrMsg.c_str()).c_str());
|
|
|
pEntity->m_bGetKMCKey = false;
|
|
@@ -658,6 +661,8 @@ DWORD CInitializerConn::HandleSyncPubKeyRet(const CSmartPointer<IPackage> &pRecv
|
|
|
if (pRecvPkg->GetErrMsg(dwSysCode, dwUserCode, strErrMsg))
|
|
|
{
|
|
|
rc = dwUserCode;
|
|
|
+ const std::string errStr = SP::Utility::GBK2UTF8(strErrMsg);
|
|
|
+ strErrMsg = errStr;
|
|
|
LogWarn(Severity_Middle,(ErrorCodeEnum) dwSysCode, dwUserCode,
|
|
|
GetOutPutStr("%s%08X", "GetErrMsg", rc).c_str());
|
|
|
}
|
|
@@ -869,6 +874,8 @@ DWORD CInitializerConn::HandleReportStateRet(const CSmartPointer<IPackage> &pRec
|
|
|
if (pRecvPkg->GetErrMsg(dwSysCode, dwUserCode, strErrMsg))
|
|
|
{
|
|
|
rc = dwUserCode;
|
|
|
+ const std::string errStr = SP::Utility::GBK2UTF8(strErrMsg);
|
|
|
+ strErrMsg = errStr;
|
|
|
LogWarn(Severity_Middle, Error_Unexpect, rc,
|
|
|
GetOutPutStr("%s%08X", "GetErrMsg", rc).c_str());
|
|
|
}
|