Log new port errors unconditionally

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-31 11:39:11 -08:00
parent d14de5950e
commit df0c999284
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package tendrils
import (
"fmt"
"log"
"sort"
"sync"
"time"
@@ -103,6 +104,7 @@ func (e *ErrorTracker) AddPortError(node *Node, portName string, stats *Interfac
FirstSeen: now,
LastUpdated: now,
}
log.Printf("[ERROR] port errors on %s %s: in=%d out=%d", node.DisplayName(), portName, inDelta, outDelta)
}
e.t.NotifyUpdate()
}