fix: log exception instead of swallowing in notify_errors

This commit is contained in:
Pratheep Selvam
2026-07-23 09:04:57 +05:30
parent 8327f19ebf
commit 4830bc51c1

View File

@@ -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")