From c67020b83dd1c347c5443e2217560e594aac9326 Mon Sep 17 00:00:00 2001 From: diogo-nogueira-freiheit Date: Fri, 11 Oct 2024 13:25:34 +0200 Subject: [PATCH] New fix with Sven --- services/frontend-service/pkg/service/batch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/frontend-service/pkg/service/batch.go b/services/frontend-service/pkg/service/batch.go index eef5f8514..cb7a77b77 100644 --- a/services/frontend-service/pkg/service/batch.go +++ b/services/frontend-service/pkg/service/batch.go @@ -47,7 +47,7 @@ func (b *BatchServiceWithDefaultTimeout) ProcessBatch(ctx context.Context, req * if context.Cause(ctx) == kuberpultTimeoutError { logger.FromContext(ctx).Warn("Context cancelled due to kuberpult timeout") } else { - logger.FromContext(ctx).Sugar().Warnf("Context cancelled due %v", zap.Error(context.Cause(ctx))) + logger.FromContext(ctx).Warn("Context cancelled due", zap.Error(context.Cause(ctx))) } }