mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Fix credit card controller by adding a rescue for wrong arguments passed in params
This commit is contained in:
@@ -26,6 +26,8 @@ module Spree
|
||||
else
|
||||
update_failed
|
||||
end
|
||||
rescue ArgumentError => e
|
||||
update_failed
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in New Issue
Block a user