fix string parameter for error message

This commit is contained in:
Mark Beamer Jr 2020-08-03 01:40:59 -04:00 committed by Alex Grintsvayg
parent 7f1906d58b
commit 41fd9f6844
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -453,7 +453,7 @@ func (v *YoutubeVideo) downloadAndPublish(daemon *jsonrpc.Client, params SyncPar
if dur > v.maxVideoLength { if dur > v.maxVideoLength {
log.Infof("%s is %d long and the limit is %s", v.id, dur.String(), v.maxVideoLength.String()) log.Infof("%s is %d long and the limit is %s", v.id, dur.String(), v.maxVideoLength.String())
logUtils.SendErrorToSlack("%s is %d long and the limit is %s", v.id, dur.String(), v.maxVideoLength.String()) logUtils.SendErrorToSlack("%s is %s long and the limit is %s", v.id, dur.String(), v.maxVideoLength.String())
return nil, errors.Err("video is too long to process") return nil, errors.Err("video is too long to process")
} }
for { for {