Decent output in production

Don't just throw errors when in production mode, this is developer information,
and shouldn't be handled as an exception, as it is probably an invalid request.