Skip to content
Snippets Groups Projects
Commit 499bc716 authored by Jeong Arm's avatar Jeong Arm Committed by Claire
Browse files

Ignore RecordNotUnique errors in LinkCrawlWorker (#28748)

parent 3837ec22
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ class LinkCrawlWorker
def perform(status_id)
FetchLinkCardService.new.call(Status.find(status_id))
rescue ActiveRecord::RecordNotFound
rescue ActiveRecord::RecordNotFound, ActiveRecord::RecordNotUnique
true
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment