Merge branch '1.10'
commit
a8eec36931
|
@ -70,7 +70,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 initialization failed, uninstalling plugin');
|
$this->io->writeError('Plugin initialization failed ('.$e->getMessage().'), uninstalling plugin');
|
||||||
parent::uninstall($repo, $package);
|
parent::uninstall($repo, $package);
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue