chore: error logging for auto material requests (#31103)
This commit is contained in:
parent
a36174afdf
commit
ecb39d81e0
@ -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")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user