better yt-dlp logging
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 1m23s
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 1m23s
This commit is contained in:
@@ -623,7 +623,7 @@ func startDownload(originalID uint, videoURL string, audioOnly bool) {
|
|||||||
cmd.Dir = tempDir
|
cmd.Dir = tempDir
|
||||||
err = cmd.Run()
|
err = cmd.Run()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorln("yt-dlp failed")
|
log.Errorf("yt-dlp run error: %v")
|
||||||
originals.SetStatus(originalID, originals.StatusFailed)
|
originals.SetStatus(originalID, originals.StatusFailed)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user