remove contact information on "Out of memory"

there is no real need to have the site maintainer contacted
over this, the error message should be clear as is
site-osm-baustelle
Hartmut Holzgraefe 2023-01-20 07:08:36 +00:00
rodzic 972cbfb1e8
commit 57dfd869e4
1 zmienionych plików z 17 dodań i 16 usunięć

Wyświetl plik

@ -67,6 +67,7 @@ def job_status_to_str(value):
result = _alert_err
result+= "<h4><i class='fas fa-triangle-exclamation'></i> <b>%s!</b></h4>" % value.resultmsg # TODO localize the result messages
if not value.resultmsg.startswith("Not enough memory"):
error_log_tail = escape(_lastline(value.get_errorlog_file())).replace(':',':<br/>')
if error_log_tail:
result+= _("Check the %(error_log)s for more details<br/>") % {