lib/connections: Actually record connection errors (#6361)
This commit is contained in:
@@ -713,7 +713,7 @@ func (s *service) ConnectionStatus() map[string]ConnectionStatusEntry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *service) setConnectionStatus(address string, err error) {
|
func (s *service) setConnectionStatus(address string, err error) {
|
||||||
if errors.Cause(err) != context.Canceled {
|
if errors.Cause(err) == context.Canceled {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user