-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
500 from missing table name #184
Comments
Do you have steps to reproduce here - ideally a small example SQLite database that exhibits the error? |
Yuck, nasty - OK I get it, this happens with ANY non-existent table name. Let's fix that - these should clearly return an HTTP 404. |
Reopening this because it still raises 500 for incorrect table capitalization. Example:
I think because the table name exists but is not in its canonical form, it triggers a dict lookup error. |
datasette/datasette/app.py
Lines 517 to 519 in 56623e4
and use it anywhere
[0][0]
is now.The text was updated successfully, but these errors were encountered: