Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #2030 Fix: Original Throwable get lost during component render (c…
…uchac) This PR was squashed before being merged into the 2.x branch. Discussion ---------- Fix: Original Throwable get lost during component render | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Issues | | License | MIT When non-Exception Throwable is thrown during component rendering, original Throwable is lost together with it's stacktrace. Without stacktrace it is hard to debug the problem. This simple change fixes the problem in the same way as in https://github.com/cuchac/ux/blob/f69b9656f318464253590a6575da65f34262d931/src/TwigComponent/src/Twig/ComponentExtension.php#L127 where `previous: $e` is used instead of `previous: $e->getPrevious()` Commits ------- 89552aa Fix: Original Throwable get lost during component render
- Loading branch information