From 96c1ba279aaaef5ce797e99de55db8c31c3cb26d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 7 Apr 2020 15:55:59 +0200 Subject: [PATCH] Add infos about plugin install failure --- src/Composer/Installer/PluginInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/PluginInstaller.php b/src/Composer/Installer/PluginInstaller.php index c400ca4a6..8cfb50e2f 100644 --- a/src/Composer/Installer/PluginInstaller.php +++ b/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; }