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
|
||||
err = cmd.Run()
|
||||
if err != nil {
|
||||
log.Errorln("yt-dlp failed")
|
||||
log.Errorf("yt-dlp run error: %v")
|
||||
originals.SetStatus(originalID, originals.StatusFailed)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user