High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: check fmt.Sscanf error return (errcheck lint)
Mariof3ea3b78e2f9
diff --git a/internal/orchestrator/orchestrator.go b/internal/orchestrator/orchestrator.goindex c95ab227..b96c84c4 100644--- a/internal/orchestrator/orchestrator.go+++ b/internal/orchestrator/orchestrator.go@@ -406,7 +406,9 @@ func (o *Orchestrator) FirstRunningURL() string {for _, inst := range o.instances {if inst.Status == "running" && instanceIsActive(inst) {p := 0- fmt.Sscanf(inst.Port, "%d", &p)+ if _, err := fmt.Sscanf(inst.Port, "%d", &p); err != nil {+ continue+ }candidates = append(candidates, candidate{port: p, url: inst.URL})}}