mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
chore: error logging for auto material requests (#31103)
This commit is contained in:
@@ -252,11 +252,14 @@ def notify_errors(exceptions_list):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for exception in exceptions_list:
|
for exception in exceptions_list:
|
||||||
exception = json.loads(exception)
|
try:
|
||||||
error_message = """<div class='small text-muted'>{0}</div><br>""".format(
|
exception = json.loads(exception)
|
||||||
_(exception.get("message"))
|
error_message = """<div class='small text-muted'>{0}</div><br>""".format(
|
||||||
)
|
_(exception.get("message"))
|
||||||
content += error_message
|
)
|
||||||
|
content += error_message
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
content += _("Regards,") + "<br>" + _("Administrator")
|
content += _("Regards,") + "<br>" + _("Administrator")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user