@@ -838,6 +838,16 @@ int CIDCertFSM::ReadAndScan(SpReqAnsContext<IDCert_ReadAndScan_Req, IDCert_ReadA
if (eErrFront == Error_Succeed && eErrBack == Error_Succeed)
ctx->Ans.hasscan = 1;
+ else
+ {
+ Dbg("Load bmp pic failed.");
+ break;
+ }
+ Dbg("Scan image failed.");
}
GetPngBlobEx(ctx->Ans.headphoto, "zp", true);