1
0
Fork 0

Clean up code format and error message

pull/3034/head
Jordi Boggiano 2014-06-03 10:46:14 +02:00
parent 5336b039c1
commit f16e3a88e2
1 changed files with 2 additions and 4 deletions

View File

@ -45,10 +45,8 @@ class ZipDownloader extends ArchiveDownloader
} }
$processError = 'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput(); $processError = 'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput();
} } catch(\Exception $e) {
catch(\Exception $e) $processError = 'Failed to execute ' . $command . "\n\n" . $e->getMessage();
{
$processError = $e->getMessage();
} }
} }