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

Change "sql: no rows in result set" #81

Open
farazfazli opened this issue Jan 30, 2016 · 1 comment
Open

Change "sql: no rows in result set" #81

farazfazli opened this issue Jan 30, 2016 · 1 comment

Comments

@farazfazli
Copy link

I propose changing "sql: no rows in result set" for yet to be created pages to something more understandable by the average user, such as "Page not found, add a custom slug to create it!"

@tomkwok
Copy link
Contributor

tomkwok commented Mar 12, 2016

This issue is already listed in #31: use error.hbs in theme when 500 / 404 / etc. is returned (no more sql: no rows in result set and HTTP 500 response).
And I also propose changing HTTP response code from 500 to 404. "Page not found" isn't an "internal server error" anyway.

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