mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-03 00:23:21 +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>"
|
error_message = f"<div class='small text-muted'>{escape_html(str(exception))}</div><br>"
|
||||||
content += error_message
|
content += error_message
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
frappe.log_error(title="Failed to format auto reorder exception", message=frappe.get_traceback())
|
||||||
|
|
||||||
content += _("Regards,") + "<br>" + _("Administrator")
|
content += _("Regards,") + "<br>" + _("Administrator")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user