Ensure exporters finish the progress

This commit is contained in:
Philipp Wolfer 2023-11-22 11:55:31 +01:00
parent 2e6319d296
commit d810fc9cac
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
4 changed files with 6 additions and 1 deletions

View file

@ -107,6 +107,7 @@ out:
for {
result, err := b.client.GetFavoriteTracks(page, perPage)
if err != nil {
progress <- p.Complete()
results <- models.LovesResult{Error: err}
return
}