mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-16 16:08:39 +00:00
Merge pull request #57384 from pratheep-bit/fix/fr-corr-001-reorder-item
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