getting-started/bookshelf: change erroneous continue statement to return
@@ -78,7 +78,7 @@ func subscribe() {
if err := json.Unmarshal(msg.Data, &id); err != nil {
log.Printf("could not decode message data: %#v", msg)
msg.Ack()
- continue
+ return
}
log.Printf("[ID %d] Processing.", id)
