From 49671344df642f5b9da5d12c34597af653754e8e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 29 Nov 2022 23:32:59 +0100 Subject: [PATCH] CQ fix --- src/cmd/worker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/worker/main.go b/src/cmd/worker/main.go index 65dd8a5..ebf4982 100644 --- a/src/cmd/worker/main.go +++ b/src/cmd/worker/main.go @@ -105,7 +105,7 @@ func main() { for d := range msgs { msg, err := amqp.Deserialize(d.Body) if err != nil { - logger.Log("json error:", err) + logger.Log("json error: %v\n", err) d.Reject(false) // FIXME: how to handle erros in queue...???? continue }