more logs
This commit is contained in:
@@ -75,7 +75,8 @@ func startMutationConsumer(ctx context.Context, conn *amqp.Connection, hub *Hub)
|
|||||||
return
|
return
|
||||||
case m, ok := <-msgs:
|
case m, ok := <-msgs:
|
||||||
if !ok {
|
if !ok {
|
||||||
return
|
log.Print("no message")
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
// Log and broadcast to all websocket clients
|
// Log and broadcast to all websocket clients
|
||||||
log.Printf("mutation event: %s", string(m.Body))
|
log.Printf("mutation event: %s", string(m.Body))
|
||||||
|
|||||||
Reference in New Issue
Block a user