less loud

This commit is contained in:
Alex Grintsvayg 2020-07-28 22:40:56 -04:00
parent 0eef62b5fd
commit 357aebbcce
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -865,9 +865,8 @@ func (s *Sync) startWorker(workerNum int) {
tryCount++
err := s.processVideo(v)
util.SendToSlack("Tried to process %s. Error: %v", v.ID(), err)
if err != nil {
util.SendToSlack("Tried to process %s. Error: %v", v.ID(), err)
logMsg := fmt.Sprintf("error processing video %s: %s", v.ID(), err.Error())
log.Errorln(logMsg)
if strings.Contains(strings.ToLower(err.Error()), "interrupted by user") {