diff --git a/src/Installer/VendorInstaller.php b/src/Installer/VendorInstaller.php index c0ee456e..ee583c39 100644 --- a/src/Installer/VendorInstaller.php +++ b/src/Installer/VendorInstaller.php @@ -126,7 +126,7 @@ public function installNode(): void Process::fromShellCommandline($cmd, $this->moodle->directory, null, null, null) ); if (!$process->isSuccessful()) { - throw new \RuntimeException('Node.js installation failed. TEST TEST TEST TODO: '); + throw new \RuntimeException('Node.js installation failed. Output: ' . $process->getOutput()); } // Retrieve NVM_BIN from initialisation output, we will use it to // substitute right Node.js environment in all future process runs.