Skip to content

Commit c5533e0

Browse files
committed
improve upload error message
Signed-off-by: Tim Ramlot <[email protected]>
1 parent c401550 commit c5533e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/agent/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ func gatherAndOutputData(ctx context.Context, eventf Eventf, config CombinedConf
331331

332332
notificationFunc := backoff.Notify(func(err error, t time.Duration) {
333333
eventf("Warning", "PushingErr", "retrying in %v after error: %s", t, err)
334-
log.Info("Warning: PushingErr: retrying", "in", t, "reason", err)
334+
log.Error(err, "Warning: PushingErr: will retry", "retry_after", t)
335335
})
336336

337337
post := func() (any, error) {

0 commit comments

Comments
 (0)