Skip to content

Commit

Permalink
Merge "[FAB-4616] Skip type switch on unmarshaling error"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Yellick authored and Gerrit Code Review committed Jun 14, 2017
2 parents 123b3d7 + 9c4cb51 commit 66655f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orderer/kafka/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ func (chain *chainImpl) processMessagesToBlocks() ([]uint64, error) {
// This shouldn't happen, it should be filtered at ingress
logger.Criticalf("[channel: %s] Unable to unmarshal consumed message = %s", chain.support.ChainID(), err)
counts[indexUnmarshalError]++
continue
} else {
logger.Debugf("[channel: %s] Successfully unmarshalled consumed message, offset is %d. Inspecting type...", chain.support.ChainID(), in.Offset)
counts[indexRecvPass]++
Expand Down

0 comments on commit 66655f7

Please sign in to comment.