Skip to content

Commit

Permalink
Merge "[FAB-3207] fix JoinChan fails at event publish failing"
Browse files Browse the repository at this point in the history
  • Loading branch information
hacera-jonathan authored and Gerrit Code Review committed Apr 18, 2017
2 parents a3efa2c + bc28d27 commit ea3ab4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/scc/cscc/configure.go
Expand Up @@ -122,8 +122,7 @@ func joinChain(blockBytes []byte) pb.Response {
peer.InitChain(chainID)

if err := producer.SendProducerBlockEvent(block); err != nil {
msg := fmt.Sprintf("Error sending block event %s", err)
return shim.Error(msg)
cnflogger.Errorf("Error sending block event %s", err)
}

return shim.Success(nil)
Expand All @@ -143,6 +142,7 @@ func updateConfigBlock(blockBytes []byte) pb.Response {
}

if err := peer.SetCurrConfigBlock(block, chainID); err != nil {

return shim.Error(err.Error())
}

Expand Down

0 comments on commit ea3ab4a

Please sign in to comment.