Browse code

Better 404 info notice

RafaƂ Szklarczyk authored on 25/02/2020 23:07:52
Showing 1 changed files
... ...
@@ -264,7 +264,7 @@ class Application{
264 264
             if($this->router->is_Match404())
265 265
                 throw new \Exception("The 404 controller or action not found!");
266 266
             else
267
-                throw new \Exception("The 404 (not found) route not set!");
267
+                throw new \Exception("404 Not found. The requested resource not found or route not set!");
268 268
         }
269 269
     }
270 270