diff --git a/main.go b/main.go index 898f224..d60eadb 100644 --- a/main.go +++ b/main.go @@ -143,6 +143,7 @@ func main() { conn, err := dialSungrow(addr) if err != nil { log.Printf("Couldn't dial inverter: %v", err) + continue } sgc = conn defer conn.Close()