diff --git a/frappe/email/doctype/notification/notification.py b/frappe/email/doctype/notification/notification.py index ba211bdf23..79000b447d 100644 --- a/frappe/email/doctype/notification/notification.py +++ b/frappe/email/doctype/notification/notification.py @@ -316,8 +316,9 @@ def evaluate_alert(doc, alert, event): except TemplateError: frappe.throw(_("Error while evaluating Notification {0}. Please fix your template.").format(alert)) except Exception as e: - frappe.log_error(message=frappe.get_traceback(), title=str(e)) - frappe.throw(_("Error in Notification")) + error_log = frappe.log_error(message=frappe.get_traceback(), title=str(e)) + frappe.throw(_("Error in Notification: {}".format( + frappe.utils.get_link_to_form('Error Log', error_log.name)))) def get_context(doc): return {"doc": doc, "nowdate": nowdate, "frappe.utils": frappe.utils}