Adding content negotiation to error logging for development.