Fix thread resolve worker retrying when status no longer exists (#16109)

lolsob-rspec
Eugen Rochko 2021-04-26 18:56:45 +02:00 committed by GitHub
parent d6fd65d0d1
commit bc522c698c
1 changed files with 2 additions and 0 deletions

View File

@ -14,5 +14,7 @@ class ThreadResolveWorker
child_status.thread = parent_status
child_status.save!
rescue ActiveRecord::RecordNotFound
true
end
end