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

@@ -93,7 +93,8 @@
"Bash(go get:*)", "Bash(go get:*)",
"Bash(go test:*)", "Bash(go test:*)",
"Bash(git stash:*)", "Bash(git stash:*)",
"Bash(git revert:*)" "Bash(git revert:*)",
"Bash(done)"
], ],
"ask": [ "ask": [
"Bash(rm *)" "Bash(rm *)"

View File

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