mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
cleanup: panic in unmarshal error on receive
This commit is contained in:
@@ -428,8 +428,7 @@ func createMConnection(
|
||||
msg := proto.Clone(mt)
|
||||
err := proto.Unmarshal(msgBytes, msg)
|
||||
if err != nil {
|
||||
// TODO(williambanfield) add a log line
|
||||
return
|
||||
panic(fmt.Errorf("unmarshaling message: %s", err))
|
||||
}
|
||||
labels := []string{
|
||||
"peer_id", string(p.ID()),
|
||||
|
||||
Reference in New Issue
Block a user