1
0
Fork 0

Improve unzip failure message

pull/571/merge
Jordi Boggiano 2012-04-12 22:35:16 +02:00
parent ecf6afdbb3
commit 98380f3aad
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ class ZipDownloader extends ArchiveDownloader
return;
}
$error = 'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput();
$error = "Could not decompress the archive, enable the PHP zip extension or install unzip.\n".
'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput();
}
throw new \RuntimeException($error);