by Robin at 20240227;
This commit is contained in:
parent
c3db97077b
commit
9e935ee8df
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue