Problem/Motivation

The ExceptionController class has a static method that creates the exception listener. As noted in the phpdoc, this code does not belong to this file and anyway, this can be done in the DIC quite easily.

Proposed resolution

The patch removes this factory and moves the configuration directly into the DIC, where it belongs.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fabpot’s picture

Re-uploaded the right patch.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

It is amazing to see the flexibility of the DIC.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.