diff --git a/goutubedl.go b/goutubedl.go index 239ebc3..b32a955 100644 --- a/goutubedl.go +++ b/goutubedl.go @@ -500,7 +500,7 @@ func infoFromURL( resp.Body.Close() caption.Bytes = buf } else { - options.DebugLog.Print("err", "download captions "+caption.URL, err) + options.DebugLog.Print("err", "download captions "+caption.URL, respErr) } }