Skip to content

Commit

Permalink
fix(frontend-service): Fixed log format (#2035)
Browse files Browse the repository at this point in the history
The formating of the logs was incorrect. The error was not being
printed.

Ref: SRX-BJVFRL
  • Loading branch information
diogo-nogueira-freiheit authored Oct 11, 2024
1 parent 119cc58 commit bb36df1
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 @@ -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).Warn("Context cancelled due %v", zap.Error(context.Cause(ctx)))
logger.FromContext(ctx).Warn("Context cancelled due", zap.Error(context.Cause(ctx)))
}
}

Expand Down

0 comments on commit bb36df1

Please sign in to comment.