Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel-GrunbergerCA <danielg@armosec.io>
  • Loading branch information
Daniel-GrunbergerCA committed Mar 29, 2023
1 parent e6f88e1 commit 99c5c65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adapters/v1/armo_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ func (a *ArmoAdapter) postResults(ctx context.Context, report *v1.ScanResultRepo
errorChan <- err
return
}
logger.L().Ctx(ctx).Debug("sending payload", helpers.String("payload", string(payload)), helpers.String("wlid", wlid))

urlBase, err := url.Parse(eventReceiverURL)
if err != nil {
logger.L().Ctx(ctx).Error("failed parsing eventReceiverURL", helpers.Error(err), helpers.String("url", eventReceiverURL), helpers.String("wlid", wlid))
Expand Down

0 comments on commit 99c5c65

Please sign in to comment.