make sure self-destructing roar worker exits successfully
parent
cfb28743fa
commit
aaa207284a
|
@ -10,6 +10,7 @@ class DestructStatusWorker
|
||||||
destructing_status.destroy!
|
destructing_status.destroy!
|
||||||
|
|
||||||
RemoveStatusService.new.call(destructing_status.status)
|
RemoveStatusService.new.call(destructing_status.status)
|
||||||
|
true
|
||||||
rescue ActiveRecord::RecordNotFound, ActiveRecord::RecordInvalid
|
rescue ActiveRecord::RecordNotFound, ActiveRecord::RecordInvalid
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue