List of steps to reproduce (step by step, including full links if applicable):
visit https://quarry.wmcloud.org/query/999999
What happens?:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
What should have happened instead?:
Some kind of 404 page about how there's no such query.