Checking output of youtube-dl when downloading[ci skip]
This commit is contained in:
parent
fa0dd24677
commit
4a2238571e
|
@ -52,7 +52,8 @@ func (dl *YouTubeDLSong) Download() error {
|
|||
for s := range cmd.Args {
|
||||
Verbose("youtube-dl args: " + cmd.Args[s])
|
||||
}
|
||||
Verbose(string(cmd.CombinedOutput()))
|
||||
output, _ := cmd.CombinedOutput()
|
||||
Verbose(string(output))
|
||||
return errors.New("Song download failed.")
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue