captions err
Some checks failed
Build on push and PRs / build (push) Failing after 4s

This commit is contained in:
2025-02-03 20:15:24 +03:00
parent 63a707e70a
commit cafbe3c1a9

View File

@ -495,10 +495,12 @@ func infoFromURL(
if respErr == nil { if respErr == nil {
buf, err := io.ReadAll(resp.Body) buf, err := io.ReadAll(resp.Body)
if err != nil { if err != nil {
options.DebugLog.Print("err", "download "+caption.URL, err) options.DebugLog.Print("err", "download captions "+caption.URL, err)
} }
resp.Body.Close() resp.Body.Close()
caption.Bytes = buf caption.Bytes = buf
} else {
options.DebugLog.Print("err", "download captions "+caption.URL, err)
} }
} }