More debug data added
[core.git] / inc / classes / exceptions / controller / class_DefaultControllerException.php
index 228d20b..22ce2e6 100644 (file)
@@ -31,8 +31,9 @@ class DefaultControllerException extends FrameworkException {
         */
        public function __construct(ControllerResolver $resolverInstance, $code) {
                // Prepare the message
-               $message = sprintf("[%s:%d] Cannot resolve default controller. Maybe missing?",
+               $message = sprintf("[%s:%d] Cannot resolve default controller <span class=\"exception_reason\">(%s)</span>. Maybe missing?",
                        $resolverInstance->__toString(),
+                       $resolverInstance->getClassName(),
                        $this->getLine()
                );