mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-26 13:08:27 -04:00
lib/connections: Actually record connection errors (#6361)
This commit is contained in:
1 parent
f0e33d052a
commit
55238e3b5b
1 file changed
+1
-1
@@ -713,7 +713,7 @@ func (s *service) ConnectionStatus() map[string]ConnectionStatusEntry {
|
||||
}
|
||||
|
||||
func (s *service) setConnectionStatus(address string, err error) {
|
||||
if errors.Cause(err) != context.Canceled {
|
||||
if errors.Cause(err) == context.Canceled {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user