Add full command to YoutubedlException
To make debugging easier
This commit is contained in:
parent
eab4b1f914
commit
85a3afda60
2 changed files with 15 additions and 1 deletions
|
@ -235,7 +235,7 @@ class Downloader
|
|||
} elseif (substr($errorOutput, 0, 21) == 'ERROR: Wrong password') {
|
||||
throw new WrongPasswordException($errorOutput, $exitCode);
|
||||
} else {
|
||||
throw new YoutubedlException($errorOutput, $exitCode);
|
||||
throw new YoutubedlException($process);
|
||||
}
|
||||
} else {
|
||||
return trim($process->getOutput());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue