diff --git a/cmd/kpimon.go b/cmd/kpimon.go index dbbbd03..75f9301 100644 --- a/cmd/kpimon.go +++ b/cmd/kpimon.go @@ -24,11 +24,13 @@ func main() { println(responseDeRegisterString) time.Sleep(5 * time.Second) - - for true{ - response, err := registerXApp() + + for true { + registerXApp() } + response, err := registerXApp() + if err != nil { print("Error: " + err.Error()) }