mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 06:05:06 +03:00
Log inconsistent error state
This commit is contained in:
parent
54660e629a
commit
dc8705db54
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue