def render_openid_error(exception)
      error = case exception
      when OpenID::Server::MalformedTrustRoot then "Malformed trust root '#{exception.to_s}'"
      else exception.to_s
      end
      render :text => h("Invalid OpenID request: #{error}"), :status => 500
    end
def render_openid_error(exception)
      error = case exception
      when OpenID::Server::MalformedTrustRoot then "Malformed trust root '#{exception.to_s}'"
      else exception.to_s
      end
      render :text => h("Invalid OpenID request: #{error}"), :status => 500
    end
Renders the exception message as text output