Skip to content

Conversation

@bantya
Copy link

@bantya bantya commented Oct 5, 2019

Fixes #11

@feat7
Copy link
Owner

feat7 commented Oct 12, 2019

Added whoops?
Can you provide more information about what you've done?
@bantya

@bantya
Copy link
Author

bantya commented Oct 18, 2019

filp/whoops is a popular package to deal with errors/exceptions in php. This package was part of Laravel framework for ~2 versions.

I required this package using Composer and added initial setup steps in index.php. (These steps are given in its README file.) I enabled this package only for __dev__ environment, i.e. the error handler will only work when this project is decided to run in development mode.

Once this setup is done, you can catch the errors/exception.

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

Successfully merging this pull request may close these issues.

Improve error handling

2 participants