To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit c8fa5d23 authored by Christof Gerber's avatar Christof Gerber
Browse files

Continue with other videos when one throughs an error

parent 08e094d2
Pipeline #36341 passed with stages
in 7 minutes and 26 seconds
......@@ -386,7 +386,8 @@ func LoadYouTubeVideos(videoIDs []string, language string, collection *mongo.Col
for _, v := range videoIDs {
err := loadYouTubeAnnotationsVideo(v, language, collection)
if err != nil {
return err
log.Warn(err)
continue
}
}
return nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment