Add infos about plugin install failure
parent
a8c105da34
commit
96c1ba279a
|
@ -62,7 +62,7 @@ class PluginInstaller extends LibraryInstaller
|
||||||
$this->composer->getPluginManager()->registerPackage($package, true);
|
$this->composer->getPluginManager()->registerPackage($package, true);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
// Rollback installation
|
// Rollback installation
|
||||||
$this->io->writeError('Plugin installation failed, rolling back');
|
$this->io->writeError('Plugin installation failed ('.$e->getMessage().'), rolling back');
|
||||||
parent::uninstall($repo, $package);
|
parent::uninstall($repo, $package);
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue