simple-php-router
simple-php-router copied to clipboard
How can I get real exception instead of Router one?
For example: I have exeption occured in file src/pages/main.php. But I'm getting this one instead. I've also tried implementing IExceptionHandler, but the $error variable in handleError function has same exception as on screenshot.
Output on the screenshot if formed by https://github.com/filp/whoops lib. But it do not influence Router, whether I'm using whoops or not behavior is the same.
Can you post the code of your ExceptionHandler implementation so I try to see what's wrong?
I kinda do have a solution. I'll try to make PR in a few weeks