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
|
||||
pp.save!
|
||||
rescue ActiveRecord::RecordInvalid
|
||||
rescue StandardError
|
||||
end
|
||||
end
|
||||
AfterParty::TaskRecord.create version: '20190819100424'
|
||||
|
|
Loading…
Add table
Reference in a new issue