flow-development-collection
flow-development-collection copied to clipboard
`DebugExceptionHandler` should log actual exception if `buildView` failed
We only render the exception that happened while calling buildView, but we never tell that this is the original cause for the exception handler to be even triggered.
https://github.com/neos/flow-development-collection/blob/cd832f295cd4c7413f088f74ed8c61607518d3bc/Neos.Flow/Classes/Error/DebugExceptionHandler.php#L78-L82
I think we should augment the catched exception from buildView with the information that there was another exception, show the reference code and log the actual exception