Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch ModuleUninstallValidatorException #2493

Closed
markhalliwell opened this issue Dec 10, 2016 · 1 comment
Closed

Catch ModuleUninstallValidatorException #2493

markhalliwell opened this issue Dec 10, 2016 · 1 comment

Comments

@markhalliwell
Copy link
Contributor

drush pmu doesn't display the reasons from this exception very well and it's sometimes very difficult to parse.

It should catch \Drupal\Core\Extension\ModuleUninstallValidatorException and then parse the reasons (splitting by ;) into a readable list.

@markhalliwell
Copy link
Contributor Author

No need to catch the exception, Drush just needs to validate before uninstalling.

See #2494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant