diff --git a/main.go b/main.go index a9216e5..29aaa0f 100644 --- a/main.go +++ b/main.go @@ -87,7 +87,8 @@ func worker(db *gorm.DB, stopCh <-chan struct{}, updatePeriod time.Duration) { log.Println("Error retrieving products:", err) continue } else { - log.Println(result) + log.Println(len(result)) + continue } // Update products as needed