Преглед изворни кода

Add infos about plugin install failure

Jordi Boggiano пре 5 година
родитељ
комит
96c1ba279a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Installer/PluginInstaller.php

+ 1 - 1
src/Composer/Installer/PluginInstaller.php

@@ -62,7 +62,7 @@ class PluginInstaller extends LibraryInstaller
             $this->composer->getPluginManager()->registerPackage($package, true);
         } catch (\Exception $e) {
             // Rollback installation
-            $this->io->writeError('Plugin installation failed, rolling back');
+            $this->io->writeError('Plugin installation failed ('.$e->getMessage().'), rolling back');
             parent::uninstall($repo, $package);
             throw $e;
         }