fix #46

Merged
chenhao merged 1 commits from feat-20230104-001-Robin into test 2024-01-05 00:24:23 +08:00
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ func executeImageAuditTasks(tasks []*ImageAuditTaskControlBlock, batchId string)
_result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime) _result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime)
//_result, err := defaultImageAuditClient.ScanImageWithOptions(req, runtime) //_result, err := defaultImageAuditClient.ScanImageWithOptions(req, runtime)
if err != nil { if err != nil {
logger.Error("ScanImageAdvance fail, err : %v", err) if _t, ok := err.(*tea.SDKError); ok {
logger.Error("ScanImageAdvance fail, errinfo : %v", util.DerefString(_t.Data))
}
handleBatchError(tasks, batchId, err) handleBatchError(tasks, batchId, err)
return return
} }