Improve logging

This commit is contained in:
Ryan Harg 2024-02-13 10:09:07 +01:00
parent e3cef3c004
commit 1466a98ebf

View file

@ -31,8 +31,8 @@ class App(
} }
private fun execute() { private fun execute() {
log("Processing feed...")
config.githubRepos.forEach { githubRepo -> config.githubRepos.forEach { githubRepo ->
log("Processing releases feed for ${githubRepo.name}...")
val existingReleases = releaseRepo.getExistingReleases(githubRepo) val existingReleases = releaseRepo.getExistingReleases(githubRepo)
val feedService = FeedService(githubRepo, httpClient) val feedService = FeedService(githubRepo, httpClient)
val newReleases = feedService.getNewReleases(existingReleases) val newReleases = feedService.getNewReleases(existingReleases)