Merge pull request 'fix' (#46) from feat-20230104-001-Robin into test
Reviewed-on: #46
This commit is contained in:
commit
dcdf35d8c9
|
@ -45,7 +45,9 @@ func executeImageAuditTasks(tasks []*ImageAuditTaskControlBlock, batchId string)
|
|||
_result, err := defaultImageAuditClient.ScanImageAdvance(req, runtime)
|
||||
//_result, err := defaultImageAuditClient.ScanImageWithOptions(req, runtime)
|
||||
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)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue