Problem/Motivation
Splitting as a follow-up from https://git.drupalcode.org/project/drupal/-/merge_requests/14902#note_80... where @longwave writes:
Should we do more than just swallow the exception? It might contain useful information as to why bootstrap failed?
This is in reference to DrupalApplication::bootstrap() in core/lib/Drupal/Core/Command/DrupalApplication.php where we try to boot Drupal. Currently, in the catch we simply return FALSE;.
@mradcliffe replied:
This happens when trying to bootstrap, and it is okay for the console application to not bootstrap because not all commands require a Drupal installation.
I do not think we need to output anything at this time, at least not an error code or error output.
Maybe a good follow-up based on user feedback?
This is that follow-up.
Steps to reproduce
Proposed resolution
TBD.
Remaining tasks
- Decide if we should do anything.
- If so, do it.
Comments
Comment #2
mradcliffeI added the initiative meta as a related issue.