minor debugging on the end

This commit is contained in:
Jeff Carr 2025-01-30 04:43:51 -06:00
parent 8d4687e2c1
commit 2ea06531dc
2 changed files with 5 additions and 2 deletions

View File

@ -125,7 +125,10 @@ func findNext() bool {
return true
}
if findCounter == 0 {
log.Info("NOTHING TO UPDATE. findCounter =", findCounter)
log.Info("NOTHING TO UPDATE. findCounter =", findCounter, "found len =", me.found.Len())
if me.found.Len() == 0 {
okExit("")
}
} else {
log.Info("me.current is nil findCounter =", findCounter, "so set findFix =", findFix)
}

View File

@ -122,7 +122,7 @@ func main() {
// check if nothing is found an exit?
if me.found.Len() == 0 {
log.Info("nothing found to publish")
os.Exit(0)
okExit("found nothing")
}
}
me.Enable()