Rename handle_exception to handle_job_exception

This commit is contained in:
riking
2015-02-09 12:47:46 -08:00
parent b7f45f6667
commit 5657006aca
13 changed files with 23 additions and 23 deletions

View File

@ -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