mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 17:37:15 +08:00
Rename handle_exception to handle_job_exception
This commit is contained in:
@ -92,7 +92,7 @@ class SessionController < ApplicationController
|
||||
SingleSignOn::ACCESSORS.each do |a|
|
||||
details[a] = sso.send(a)
|
||||
end
|
||||
Discourse.handle_exception(e, details)
|
||||
Discourse.handle_job_exception(e, details)
|
||||
|
||||
render text: I18n.t("sso.unknown_error"), status: 500
|
||||
end
|
||||
|
Reference in New Issue
Block a user