浏览代码

Merge pull request #24 from Shopify/fix_consumer_nilpointers

Fix nil-pointer panic in consumer.
Evan Huus 12 年之前
父节点
当前提交
f124a9edd7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      consumer.go

+ 1 - 0
consumer.go

@@ -156,6 +156,7 @@ func (c *Consumer) fetchMessages() {
 					return
 				}
 			}
+			continue
 		}
 
 		block := response.GetBlock(c.topic, c.partition)