1
0
Fork 0

Add infos about plugin install failure

pull/8746/head
Jordi Boggiano 2020-04-07 15:55:59 +02:00
parent a8c105da34
commit 96c1ba279a
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}