Issue Feature Closed

#86070Refine DebugExceptionHandler

Markus Poerschke 09/01/18, 03:29 updated 10/02/18, 10:28

Description

The DebugExceptionHandler was not changed for a long time.

There are some problems I expirienced using it:

  1. It does not look nice
  2. Only the first exception is displayed. Previous exceptions are not shown. Especially for Twig or Doctrine DBAL this is a very important feature since exceptions are chained there
  3. You cannot see the input parameters of the function / method calls
  4. The code where the exception is thrown is not shown.

Therefore I took some time to give the DebugExceptionHandler some refinements:

  1. New design
  2. Display all exceptions
  3. Show the arguments of the function / method calls
  4. Also show the code where the exception is thrown

*Old:*
debug-exception-handler-old.png

*New:*
debug-exception-handler-new.png

Reviews 1