From 642a94741f57352cc2eb44f8f5e230c146f75145 Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Tue, 29 Nov 2022 23:33:43 +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 e14544c..14b8e61 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 }