From fb1fec159f2433ce86a791c2c03bb88ec09ff3db Mon Sep 17 00:00:00 2001 From: Elliot Courant Date: Fri, 6 Oct 2023 17:40:29 -0500 Subject: [PATCH] chore: Minor tweak --- backends/postgres/postgres_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/postgres/postgres_backend.go b/backends/postgres/postgres_backend.go index 21fb0b3..208eb83 100644 --- a/backends/postgres/postgres_backend.go +++ b/backends/postgres/postgres_backend.go @@ -575,7 +575,7 @@ func (p *PgBackend) start(ctx context.Context, h handler.Handler) (err error) { func (p *PgBackend) initFutureJobs(ctx context.Context, queue string) (err error) { rows, err := p.pool.Query(ctx, FutureJobQuery, queue) if err != nil { - p.logger.Error("failed to fetch future jobs list", "queue", queue, err) + p.logger.Error("failed to fetch future jobs list", "queue", queue, "error", err) return }