diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index 21bc22937..64df3eab8 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -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;