This commit is contained in:
parent
27b1f1fb35
commit
49671344df
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user