When I tested this by clearing out the configured database, it did not throw ...

Contribution Date
Technology
Contribution Project
Contribution Details

When I tested this by clearing out the configured database, it did not throw an exception in \Drupal\Core\DrupalKernel at all. Instead, this is the exception thrown in Symfony's HttpKernel.

Symfony\Component\HttpKernel\Exception\NotFoundHttpException: in Drupal\Core\PathProcessor\PathProcessorFront->processInbound() (line 43 of core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php).

This is returned as a regular response to DrupalKernel(with 404 code) which just prints it. The exception handler is not entered at all. I found this when I was trying the same approach as @Crell in #97.

I'll try the patch anyway later but I thought I'd share my finding here.

Contribution Author
Files count
0
Patches count
0