Skip to content

Commit

Permalink
Merge pull request #17315 from ahrtr/3.5_configure_peer_log_20240124
Browse files Browse the repository at this point in the history
[3.5] Print error log when creating peer listener failed
  • Loading branch information
ahrtr authored Jan 25, 2024
2 parents c7bcb5f + 926d022 commit a0ff8e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/embed/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ func configurePeerListeners(cfg *Config) (peers []*peerListener, err error) {
transport.WithTimeout(rafthttp.ConnReadTimeout, rafthttp.ConnWriteTimeout),
)
if err != nil {
cfg.logger.Error("creating peer listener failed", zap.Error(err))
return nil, err
}
// once serve, overwrite with 'http.Server.Shutdown'
Expand Down

0 comments on commit a0ff8e4

Please sign in to comment.