Add FoodsoftConfig.scope to ExceptionNotifier.notify_exception

This commit is contained in:
Patrick Gansterer 2019-11-11 11:18:08 +01:00
parent db4c29ff1b
commit de94220758

View file

@ -290,7 +290,7 @@ class Order < ApplicationRecord
begin begin
order.do_end_action! order.do_end_action!
rescue => error rescue => error
ExceptionNotifier.notify_exception(error, data: {order_id: order.id}) ExceptionNotifier.notify_exception(error, data: {foodcoop: FoodsoftConfig.scope, order_id: order.id})
end end
end end
end end