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
Flag for bypassing default error pages #251
Conversation
Sweet, good work! The plugin you've created for this could probably go straight into the core too. What are your thoughts? |
I think that probably makes a lot of sense. I will get the plugin moved over to core today and added to this pull request. |
Moved the error plugin to the core page handling, also changed the name of the custom errors flag to useCustomErrors. I had it removed but thought better of it for people wanting to use an htaccess file. Let me know what you think. |
Do you have any other feedback on this addition? The recent commit drops the excessive error handling. |
Sweet. Didn't spot that last commit. Will merge in soon :) |
Wanted to check on the status, we are currently running off of a fork for this and would be nice to have it in your deployed version of docpad. Let me know if there is anything else I can do. Thanks again! |
Doing it now :) |
Published in v6.4.0 |
Btw, working fantastic on the kitchensink site: http://docpad-kitchensink.herokuapp.com/asdasdsad :D |
Awesome! Thanks for getting this in! |
Added in a docpad config variable to allow the errors plugin to function.
This allows for the server to respond in a custom fashion to 404 pages and the like.