TYPO3-Extbase: Redirect exceptions to 404-page

Sometimes your Extbase-extension crashes and throws an exception, especially when it tries to fetch entities which were hidden or deleted . As for development this might be acceptable, for live-environment it is not. But hey, a solution to this problem is near: Catch the exception and pass it into the regular TYPO3-error-handling (which is normally a 404).

Continue reading TYPO3-Extbase: Redirect exceptions to 404-page