Bläddra i källkod

Z991239-6228 #comment feat: 指纹扫描效验扫描超时字段

Signed-Off-By: commit-hook
刘文涛80174520 4 månader sedan
förälder
incheckning
69cb4dbeca
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      Module/mod_FingerPrint/FingerPrintFSM.cpp

+ 2 - 1
Module/mod_FingerPrint/FingerPrintFSM.cpp

@@ -482,7 +482,8 @@ int CFingerPrintFSM::GetFingerPrintJS(SpReqAnsContext<FingerPrintService_GetFing
 		scanTimeOut = ctx->Req.scanTimeOut*1000;
 	}
 	else {
-		LogWarn(Severity_Middle, Error_Unexpect, FingerPrint_UserErrorCode_GET_FINGERPRINT_PARAM_FAIL, "GetFingerPrintJS::Get dep Path is fail");
+		CSimpleStringA errMsg = CSimpleStringA::Format("GetFingerPrintJS::Param is error,scanTimeOut[%d] is invalid", ctx->Req.scanTimeOut);
+		LogWarn(Severity_Middle, Error_Unexpect, FingerPrint_UserErrorCode_GET_FINGERPRINT_PARAM_FAIL, errMsg.GetData());
 		DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_USER).setLogCode(FingerPrint_Scan_ID).setResultCode(getRTACode(FingerPrint_UserErrorCode_GET_FINGERPRINT_PARAM_FAIL))("GetFingerPrintJS::Param is error,scanTimeOut[%d] is invalid", ctx->Req.scanTimeOut);
 		ctx->Answer(Error_Unexpect, FingerPrint_UserErrorCode_GET_FINGERPRINT_PARAM_FAIL);//RTA242F
 		return 0;