1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

handle errors in PaymentScheduleItemWorker

This commit is contained in:
Sylvain 2021-02-22 11:27:29 +01:00
parent 2ef4e52885
commit 0b3a02a05d

View File

@ -49,5 +49,7 @@ class PaymentScheduleItemWorker
attached_object: psi
psi.update_attributes(state: 'pending')
end
rescue StandardError
psi.update_attributes(state: 'error')
end
end