Skip to content
Snippets Groups Projects

Issue #3357657: ComposerValidator catches an exception and assumes it is because the path to Composer is not set

Merged Issue #3357657: ComposerValidator catches an exception and assumes it is because the path to Composer is not set
All threads resolved!
All threads resolved!
@@ -54,9 +54,6 @@ class ComposerValidator implements EventSubscriberInterface {
$this->composerInspector->validate($dir);
}
catch (\Throwable $e) {
// @todo There are other reasons this exception could have happened
// besides Composer not being found. Explain those reasons in our online
// help, and update this link, in https://drupal.org/i/3357657.
if ($this->moduleHandler->moduleExists('help')) {
$message = $this->t('@message See <a href=":package-manager-help">the help page</a> for information on how to resolve the problem.', [
'@message' => $e->getMessage(),
Loading