mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 05:48:47 +00:00
Fix bug when user opts not to receive error reports (#5846)
This commit is contained in:
parent
29a191e05e
commit
30ef4383d1
@ -1049,7 +1049,7 @@ def after_error_logged(sender, instance: Error, created: bool, **kwargs):
|
|||||||
instance,
|
instance,
|
||||||
'inventree.error_log',
|
'inventree.error_log',
|
||||||
context=context,
|
context=context,
|
||||||
targets=users,
|
targets=target_users,
|
||||||
delivery_methods={common.notifications.UIMessageNotification, },
|
delivery_methods={common.notifications.UIMessageNotification, },
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user