Add FoodsoftConfig.scope to ExceptionNotifier.notify_exception
This commit is contained in:
parent
db4c29ff1b
commit
de94220758
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue