From ac5766b00bcedbf4fa91080e4389cc705512e974 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 14 Nov 2021 20:01:32 +0000 Subject: [PATCH] Report current order info on all checkout failures --- app/controllers/checkout_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/checkout_controller.rb b/app/controllers/checkout_controller.rb index d4c36f46ff..65a59efd72 100644 --- a/app/controllers/checkout_controller.rb +++ b/app/controllers/checkout_controller.rb @@ -241,7 +241,7 @@ class CheckoutController < ::BaseController end def checkout_failed(error = RuntimeError.new(order_error)) - Bugsnag.notify(error) + Bugsnag.notify(error, order: @order) flash[:error] = order_error if flash.blank? Checkout::PostCheckoutActions.new(@order).failure end