Merge pull request 'by Robin at 20240227;' (#141) from feat-20240117-001-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/141
This commit is contained in:
chenhao 2024-02-27 02:21:40 +08:00
commit c2a010ff26
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), ConnectTimeout: tea.Int(30000),
} }
_result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime) _result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime)
logger.Info("Receive the response from ScanImageAdvance: %v", _result.String())
if err != nil { if err != nil {
if _t, ok := err.(*tea.SDKError); ok { if _t, ok := err.(*tea.SDKError); ok {
logger.Error("ScanImageAdvance fail, errinfo : %v", util.DerefString(_t.Data)) 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) failNum = len(imageaudittasks)
return return
} }
logger.Info("Receive the response from ScanImageAdvance: %v", _result.String())
// 4.处理应答 // 4.处理应答
err = handleScanImageResponse(ctrlBlock, _result) err = handleScanImageResponse(ctrlBlock, _result)