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
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class Order < ApplicationRecord
begin
order.do_end_action!
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