discard expert not found job error
This commit is contained in:
parent
4c65e49950
commit
e4484eb6d9
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
class ExportJob < ApplicationJob
|
||||
queue_as :exports
|
||||
|
||||
discard_on ActiveRecord::RecordNotFound
|
||||
|
||||
def perform(export)
|
||||
export.compute
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue