PatrickLouys / no-framework-tutorial

A small tutorial to show how to create a PHP application without a framework.
MIT License
1.53k stars 186 forks source link

Chapter 10-dynamic-pages, InvalidPageException never being caught #61

Closed sinjab closed 7 years ago

sinjab commented 7 years ago

Because of using Whoops error handling, the InvalidPageException is never being caught. The Whoops exception handler catches it and the 404 response never appears.