prevent channels from failing when manually killed
This commit is contained in:
parent
ad5a30da9e
commit
c53cf4c1b3
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ func getVideos(config *sdk.APIConfig, channelID string, videoIDs []string, stopC
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
case <-stopChan:
|
case <-stopChan:
|
||||||
return videos, errors.Err("canceled by stopper")
|
return videos, errors.Err("interrupted by user")
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue