#86070Refine DebugExceptionHandler
Description
The DebugExceptionHandler was not changed for a long time.
There are some problems I expirienced using it:
- It does not look nice
- 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
- You cannot see the input parameters of the function / method calls
- The code where the exception is thrown is not shown.
Therefore I took some time to give the DebugExceptionHandler some refinements:
- New design
- Display all exceptions
- Show the arguments of the function / method calls
- Also show the code where the exception is thrown
*Old:*
debug-exception-handler-old.png
*New:*
debug-exception-handler-new.png