about summary refs log tree commit diff
path: root/app/workers/distribution_worker.rb
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-05 10:29:52 +0200
committerGitHub <noreply@github.com>2017-04-05 10:29:52 +0200
commit8b8839978a222ed53a3dc33eb99f87edc8794000 (patch)
treee140ef9317152e6e40e9cb7061413736605158fe /app/workers/distribution_worker.rb
parent29efeecb9ebd4eac0ec65040b2f688d7a5c77283 (diff)
parent78cf0fe1c7981bd3770b80772eb7295bc2a0b753 (diff)
Merge branch 'master' into master
Diffstat (limited to 'app/workers/distribution_worker.rb')
-rw-r--r--app/workers/distribution_worker.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/distribution_worker.rb b/app/workers/distribution_worker.rb
index f4e738d80..9a2867ea6 100644
--- a/app/workers/distribution_worker.rb
+++ b/app/workers/distribution_worker.rb
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-class DistributionWorker
+class DistributionWorker < ApplicationWorker
   include Sidekiq::Worker
 
   def perform(status_id)
@@ -9,6 +9,6 @@ class DistributionWorker
     FanOutOnWriteService.new.call(status)
     WarmCacheService.new.call(status)
   rescue ActiveRecord::RecordNotFound
-    true
+    info("Couldn't find the status")
   end
 end