From 41fd9f6844c584e7b5756a19e124f0f44867c4f4 Mon Sep 17 00:00:00 2001 From: Mark Beamer Jr Date: Mon, 3 Aug 2020 01:40:59 -0400 Subject: [PATCH] fix string parameter for error message --- sources/youtubeVideo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index 771a99a..e4bbc9f 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -453,7 +453,7 @@ func (v *YoutubeVideo) downloadAndPublish(daemon *jsonrpc.Client, params SyncPar if dur > v.maxVideoLength { 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") } for {