mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
No need to add flash error for error
as we render error on each input with error
This commit is contained in:
@@ -246,7 +246,6 @@ class SplitCheckoutController < ::BaseController
|
||||
|
||||
def checkout_failed(error = RuntimeError.new(order_error))
|
||||
Bugsnag.notify(error)
|
||||
flash[:error] = order_error if flash.blank?
|
||||
Checkout::PostCheckoutActions.new(@order).failure
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user