mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:17:14 +08:00
remove less useful error reporting
This commit is contained in:
parent
61e9679f7c
commit
918034aa7b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user