mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
raise not implemented
This commit is contained in:
parent
162d4347e7
commit
65d5ed1bdf
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user