We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e89db commit 05ce39aCopy full SHA for 05ce39a
1 file changed
src/Version/Installed.php
@@ -81,7 +81,13 @@ private function getVersionFromConsoleCommand(): ?string
81
try {
82
$output = $this->process->exec([$this->executablePath, '--version']);
83
} catch (ProcessFailedException) {
84
- throw new RoadrunnerNotInstalledException('Roadrunner is not installed.');
+ throw new RoadrunnerNotInstalledException(\sprintf(
85
+ 'Roadrunner is not installed. Make sure RoadRunner is installed and available here: `%s`.' .
86
+ ' If RoadRunner is installed in a different path, pass the correct `executablePath` parameter to the' .
87
+ ' `%s` class constructor.',
88
+ $this->executablePath,
89
+ self::class
90
+ ));
91
}
92
93
\preg_match('/\bversion (\d+\.\d+\.\d+[\w.-]*)/', $output, $matches);
0 commit comments