This commit is contained in:
Piotr Biernat 2022-11-29 23:33:43 +01:00
parent 14145d3dea
commit 642a94741f

View File

@ -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
}