mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft/node.go: Log unhandled errors
This commit is contained in:
parent
65cdf43e48
commit
5e67b40a9e
@ -223,7 +223,10 @@ func StartNode(c *Config, peers []Peer) Node {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
rn.Bootstrap(peers)
|
||||
err = rn.Bootstrap(peers)
|
||||
if err != nil {
|
||||
c.Logger.Warningf("error occurred during starting a new node: %v", err)
|
||||
}
|
||||
|
||||
n := newNode(rn)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user