From aaa207284a899bc52a6fe1c7b1798c5637e258ed Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 26 Jul 2019 18:01:24 -0500 Subject: make sure self-destructing roar worker exits successfully --- app/workers/destruct_status_worker.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit