Task: catch various exception
This commit is contained in:
parent
9ba3de65de
commit
bf3dd319c1
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ namespace :after_party do
|
||||||
|
|
||||||
begin
|
begin
|
||||||
pp.save!
|
pp.save!
|
||||||
rescue ActiveRecord::RecordInvalid
|
rescue StandardError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
AfterParty::TaskRecord.create version: '20190819100424'
|
AfterParty::TaskRecord.create version: '20190819100424'
|
||||||
|
|
Loading…
Add table
Reference in a new issue