by Robin at 20240227;

This commit is contained in:
Leufolium 2024-02-27 02:21:24 +08:00
parent c3db97077b
commit 9e935ee8df
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,6 @@ func Run(batchId string) (successNum int, failNum int, err error) {
ConnectTimeout: tea.Int(30000),
}
_result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime)
logger.Info("Receive the response from ScanImageAdvance: %v", _result.String())
if err != nil {
if _t, ok := err.(*tea.SDKError); ok {
logger.Error("ScanImageAdvance fail, errinfo : %v", util.DerefString(_t.Data))
@ -70,6 +69,7 @@ func Run(batchId string) (successNum int, failNum int, err error) {
failNum = len(imageaudittasks)
return
}
logger.Info("Receive the response from ScanImageAdvance: %v", _result.String())
// 4.处理应答
err = handleScanImageResponse(ctrlBlock, _result)