mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Rename handle_exception to handle_job_exception
This commit is contained in:
@ -15,7 +15,7 @@ module Discourse
|
||||
# error_context() method in Jobs::Base to pass the job arguments and any
|
||||
# other desired context.
|
||||
# See app/jobs/base.rb for the error_context function.
|
||||
def self.handle_exception(ex, context = {}, parent_logger = nil)
|
||||
def self.handle_job_exception(ex, context = {}, parent_logger = nil)
|
||||
context ||= {}
|
||||
parent_logger ||= SidekiqExceptionHandler
|
||||
|
||||
|
Reference in New Issue
Block a user