-
Notifications
You must be signed in to change notification settings - Fork 116
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
Bugs not displayed #636
Comments
Hello, please provide your code so that we can help you. You can enable the debug mode of the router or use an exception handler. ~ Marius |
"errors in your app" that is what I mean This is my exception `<?php use Pecee\Http\Request; class HomeExceptionHandler implements IExceptionHandler
}` Its not printing the errors. |
Are you using the demo project? Might not be completely up to date give me a moment and I'll update it |
I used the ExceptionHandler from it |
Did you register it in your routes.php file? |
Yes. I have already done that `Route::group(['prefix' => folderprefix,'exceptionHandler' => \App\Handlers\HomeExceptionHandler::class, 'mergeExceptionHandlers' => false], function () {
|
Do just get a blank page? Is there any information in php_errors.log? |
no info I think the router is disabling it by the exception maybe |
If no exception handler is present, the exception will just be thrown like normal. |
Please try this project, I just updated it and confirmed it works. Exception thrown when visiting |
Its now working correctly . |
I am creating an mvc using this router .
I am not able to see any errors and the app breaking .
How Can I show them
The text was updated successfully, but these errors were encountered: