Skip to content

Commit

Permalink
Fix LogSubscriber notifications for finished_timer_task and finished_…
Browse files Browse the repository at this point in the history
…job_task
  • Loading branch information
bensheldon committed Sep 15, 2020
1 parent 5b59acd commit 9446165
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/good_job/log_subscriber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ def create(event)
end

# @macro notification_responder
def timer_task_finished(event)
# FIXME: This method does not match any good_job notifications.
def finished_timer_task(event)
exception = event.payload[:error]
return unless exception

Expand All @@ -36,8 +35,7 @@ def timer_task_finished(event)
end

# @macro notification_responder
def job_finished(event)
# FIXME: This method does not match any good_job notifications.
def finished_job_task(event)
exception = event.payload[:error]
return unless exception

Expand Down

0 comments on commit 9446165

Please sign in to comment.