mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Add process error to the output of failed unzipping
This commit is contained in:
parent
fc0da27d84
commit
d35fc31f62
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class ZipDownloader extends ArchiveDownloader
|
|||
$zipArchive = new ZipArchive();
|
||||
|
||||
if (true !== ($retval = $zipArchive->open($file))) {
|
||||
throw new \UnexpectedValueException($this->getErrorMessage($retval, $file), $retval);
|
||||
throw new \UnexpectedValueException(rtrim($this->getErrorMessage($retval, $file)."\n".$processError), $retval);
|
||||
}
|
||||
|
||||
if (true !== $zipArchive->extractTo($path)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue