No need to add flash error for error

as we render error on each input with error
This commit is contained in:
Jean-Baptiste Bellet
2021-07-22 15:05:03 +02:00
parent 151a6fd16b
commit 91c4beea0f

View File

@@ -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