mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
handle errors in PaymentScheduleItemWorker
This commit is contained in:
parent
2ef4e52885
commit
0b3a02a05d
@ -49,5 +49,7 @@ class PaymentScheduleItemWorker
|
||||
attached_object: psi
|
||||
psi.update_attributes(state: 'pending')
|
||||
end
|
||||
rescue StandardError
|
||||
psi.update_attributes(state: 'error')
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user