CQ fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Piotr Biernat 2022-11-29 23:32:59 +01:00
parent 27b1f1fb35
commit 49671344df

View File

@ -105,7 +105,7 @@ func main() {
for d := range msgs { for d := range msgs {
msg, err := amqp.Deserialize(d.Body) msg, err := amqp.Deserialize(d.Body)
if err != nil { 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...???? d.Reject(false) // FIXME: how to handle erros in queue...????
continue continue
} }