mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 13:47:05 +02:00
Ensure exporters finish the progress
This commit is contained in:
parent
2e6319d296
commit
d810fc9cac
4 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue