[TASK] Improve error message in NotFoundView to identify source
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Mvc / Controller / ActionController.php
index e9d9c25..4db549e 100644 (file)
@@ -358,7 +358,8 @@ class ActionController extends \TYPO3\CMS\Extbase\Mvc\Controller\AbstractControl
                }
                if (!isset($view)) {
                        $view = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\View\\NotFoundView');
-                       $view->assign('errorMessage', 'No template was found. View could not be resolved for action "' . $this->request->getControllerActionName() . '"');
+                       $view->assign('errorMessage', 'No template was found. View could not be resolved for action "'
+                               . $this->request->getControllerActionName() . '" in class "' . $this->request->getControllerObjectName() . '"');
                }
                $view->setControllerContext($this->controllerContext);
                if (method_exists($view, 'injectSettings')) {