diff --git a/internal/logger/target/http/http.go b/internal/logger/target/http/http.go index e400fc43a..c8d290b96 100644 --- a/internal/logger/target/http/http.go +++ b/internal/logger/target/http/http.go @@ -283,6 +283,8 @@ func (h *Target) logEntry(ctx context.Context, entry interface{}) { if err := h.send(ctx, logJSON, webhookCallTimeout); err != nil { h.config.LogOnce(ctx, err, h.config.Endpoint) atomic.AddInt64(&h.failedMessages, 1) + } else { + return } } }