about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-26 18:01:24 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-26 18:01:24 -0500
commitaaa207284a899bc52a6fe1c7b1798c5637e258ed (patch)
tree0981962ad2d1b10735ba67f99f9891671ded84aa /app/workers
parentcfb28743fa08191801d67343d6aaba41830d13e8 (diff)
make sure self-destructing roar worker exits successfully
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/destruct_status_worker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/destruct_status_worker.rb b/app/workers/destruct_status_worker.rb
index 6a3971220..71f7cde45 100644
--- a/app/workers/destruct_status_worker.rb
+++ b/app/workers/destruct_status_worker.rb
@@ -10,6 +10,7 @@ class DestructStatusWorker
     destructing_status.destroy!
 
     RemoveStatusService.new.call(destructing_status.status)
+    true
   rescue ActiveRecord::RecordNotFound, ActiveRecord::RecordInvalid
     true
   end