Skip to content

Commit

Permalink
Last log change
Browse files Browse the repository at this point in the history
  • Loading branch information
diogo-nogueira-freiheit committed Oct 15, 2024
1 parent 1ff5a47 commit 7860a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/frontend-service/pkg/service/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (b *BatchServiceWithDefaultTimeout) ProcessBatch(ctx context.Context, req *

if ctx.Err() != nil {
if context.Cause(ctx) == kuberpultTimeoutError {
logger.FromContext(ctx).Warn(fmt.Sprintf("Context cancelled due to %s", kuberpultTimeoutError.Error()))
logger.FromContext(ctx).Warn(fmt.Sprintf("ProcessBatch context cancelled due to %s", kuberpultTimeoutError.Error()))
} else {
logger.FromContext(ctx).Warn("ProcessBatch context cancelled NOT due to kuberpult timeout.", zap.Error(context.Cause(ctx)))
}
Expand Down

0 comments on commit 7860a05

Please sign in to comment.