1
0
Fork 0

Improve error reporting

pull/4579/head
Jordi Boggiano 2015-11-03 20:37:11 +00:00
parent 5a5088eb34
commit 2d24ed8e74
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class Application extends BaseApplication
{
$workingDir = $input->getParameterOption(array('--working-dir', '-d'));
if (false !== $workingDir && !is_dir($workingDir)) {
throw new \RuntimeException('Invalid working directory specified.');
throw new \RuntimeException('Invalid working directory specified, '.$workingDir.' does not exist.');
}
return $workingDir;