Clean up code format and error message
parent
5336b039c1
commit
f16e3a88e2
|
@ -45,10 +45,8 @@ class ZipDownloader extends ArchiveDownloader
|
|||
}
|
||||
|
||||
$processError = 'Failed to execute ' . $command . "\n\n" . $this->process->getErrorOutput();
|
||||
}
|
||||
catch(\Exception $e)
|
||||
{
|
||||
$processError = $e->getMessage();
|
||||
} catch(\Exception $e) {
|
||||
$processError = 'Failed to execute ' . $command . "\n\n" . $e->getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue