Skip to content

Commit

Permalink
Added logging for how many student clubs were scraped about which lan…
Browse files Browse the repository at this point in the history
…guage
  • Loading branch information
CommanderStorm committed Oct 9, 2024
1 parent 6b5522f commit 9fbd85a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/backend/cron/student_clubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ func (c *CronService) studentClubCron(language pb.Language) error {
return err
}
scrapedClubs, scrapedCollections, err := student_club_parsers.ParseStudentClubs(body)
log.WithField("language", language).
WithField("scrapedClubsCnt", len(scrapedClubs)).
WithField("scrapedCollectionsCnt", len(scrapedCollections)).
Info("Scraped student clubs")
if err != nil {
return err
}
Expand Down

0 comments on commit 9fbd85a

Please sign in to comment.