From 2d24ed8e74828645b999eeadb547927e16679edb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 3 Nov 2015 20:37:11 +0000 Subject: [PATCH] Improve error reporting --- src/Composer/Console/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;