Put in a note about 404s
This commit is contained in:
parent
6097e29aef
commit
7f297b06f5
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ class Router extends Object
|
|||
|
||||
if (!file_exists($filename))
|
||||
{
|
||||
// @todo Should be a 404, will need to change it up after I add
|
||||
// namespaces and a Pickles\Exception
|
||||
throw new Exception('Cannot find the file ' . $filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue