mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-11 13:41:47 +00:00
fix: log exception instead of swallowing in notify_errors
This commit is contained in:
@@ -380,7 +380,7 @@ def notify_errors(exceptions_list):
|
||||
error_message = f"<div class='small text-muted'>{escape_html(str(exception))}</div><br>"
|
||||
content += error_message
|
||||
except Exception:
|
||||
pass
|
||||
frappe.log_error(title="Failed to format auto reorder exception", message=frappe.get_traceback())
|
||||
|
||||
content += _("Regards,") + "<br>" + _("Administrator")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user