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 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 *)"
|
||||||
|
|||||||
@@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user