Log new port errors unconditionally
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,8 @@
|
||||
"Bash(go get:*)",
|
||||
"Bash(go test:*)",
|
||||
"Bash(git stash:*)",
|
||||
"Bash(git revert:*)"
|
||||
"Bash(git revert:*)",
|
||||
"Bash(done)"
|
||||
],
|
||||
"ask": [
|
||||
"Bash(rm *)"
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user