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