Commit e840deaa authored by vicotor's avatar vicotor

add log

parent e81211b2
......@@ -206,6 +206,7 @@ func (n *Node) attachKafkaConsumer(ctx context.Context, taskCh chan *odysseus.Ta
}
// check if context was cancelled, signaling that the consumer should stop
if ctx.Err() != nil {
log.WithError(ctx.Err()).Error("consumer kafka context was cancelled")
return
}
consumer.ready = make(chan bool)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment