Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Aug 20, 2023
1 parent a9a7d92 commit a469339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xray/manager/xsc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func (xsc *XscServicesManger) ScanGraph(params scan.XrayGraphScanParams) (scanId
log.Debug("Scanning graph using XSC service...")
scanService := scan.NewXscScanService(xsc.client, xsc.config.GetServiceDetails())
if params.MultiScanId, err = scanService.SendScanContext(params.XscGitInfoContext); err != nil {
// Don't fail on when failed to send XscGitInfoContext
log.Warn("failed to pass git info context with error:%s", err.Error())
// Don't fail the entire scan when failed to send XscGitInfoContext
log.Warn("failed to send xsc git info context with the foloowing error: ", err.Error())
}
return scanService.ScanGraph(params)
}
Expand Down

0 comments on commit a469339

Please sign in to comment.