More debug data added
authorRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 05:28:15 +0000 (05:28 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 18 Jul 2009 05:28:15 +0000 (05:28 +0000)
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()
                );