remove less useful error reporting

This commit is contained in:
Sam 2015-05-27 11:17:28 +10:00
parent 61e9679f7c
commit 918034aa7b

View File

@ -101,7 +101,7 @@ class SessionController < ApplicationController
SingleSignOn::ACCESSORS.each do |a|
details[a] = sso.send(a)
end
Discourse.handle_job_exception(e, details)
Rails.logger.error "Failed to create or lookup user: #{e}\n\n#{details.map{|k,v| "#{k}: #{v}"}.join("\n")}"
render text: I18n.t("sso.unknown_error"), status: 500
end