david-prv / QuickyPHP

A php micro-framework
GNU General Public License v3.0
6 stars 1 forks source link

Exception Handler not applying #6

Closed david-prv closed 1 year ago

david-prv commented 1 year ago

Describe the bug Exception Handler not working for (at least) UnknownRouteException

To Reproduce Steps to reproduce the behavior:

  1. Create app instance
  2. Use custom exception handler with Quicky::use()
  3. Call an unknown route

Expected behavior The defined behaviour to be executed

Additional context The set_exception_handler() seems to work. Iff I add another throw new Exception() after I used the use()-method, the correct behaviour is applied.