mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
raise not implemented
This commit is contained in:
@ -122,6 +122,8 @@ def trigger_notifaction(obj, entry_name=None, obj_ref='pk', receivers=None, rece
|
||||
logger.info(f"Triggering method '{method.method_name}'")
|
||||
try:
|
||||
deliver_notification(method, obj, entry_name, receivers, notification_context)
|
||||
except NotImplementedError as error:
|
||||
raise error
|
||||
except Exception as error:
|
||||
logger.error(error)
|
||||
|
||||
|
Reference in New Issue
Block a user