simple-php-router icon indicating copy to clipboard operation
simple-php-router copied to clipboard

How can I get real exception instead of Router one?

Open Geckon01 opened this issue 1 year ago • 2 comments

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. image 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.

Geckon01 avatar Jul 25 '23 08:07 Geckon01

Can you post the code of your ExceptionHandler implementation so I try to see what's wrong?

ms-afk avatar Sep 29 '23 21:09 ms-afk

I kinda do have a solution. I'll try to make PR in a few weeks

Geckon01 avatar Dec 11 '23 15:12 Geckon01