Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get real exception instead of Router one? #674

Open
Geckon01 opened this issue Jul 25, 2023 · 2 comments
Open

How can I get real exception instead of Router one? #674

Geckon01 opened this issue Jul 25, 2023 · 2 comments

Comments

@Geckon01
Copy link

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.

@ms-afk
Copy link
Contributor

ms-afk commented Sep 29, 2023

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

@Geckon01
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants