From dc8705db54dea257a85f6eb0164f785bb1ee05de Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sat, 4 Nov 2023 18:09:04 +0000 Subject: [PATCH] Log inconsistent error state --- src/core/link.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/link.go b/src/core/link.go index e42f127f..af4a5a59 100644 --- a/src/core/link.go +++ b/src/core/link.go @@ -274,6 +274,9 @@ func (l *links) add(u *url.URL, sintf string, linkType linkType) error { conn, err := l.connect(state.ctx, u, info, options) if err != nil || conn == nil { + if err == nil && conn == nil { + l.core.log.Warnf("Link %q reached inconsistent error state", u.String()) + } if linkType == linkTypePersistent { // If the link is a persistent configured peering, // store information about the connection error so