report errors as errors (#2 related)

This commit is contained in:
n 2021-02-28 12:23:45 +01:00
parent adb34d2732
commit fe5ace1b9b
Signed by: n
GPG key ID: E96086FC951DAE30

View file

@ -184,15 +184,15 @@ function fetch_iri_title($iri)
// 4x 5x 6x are error statuses, should find a better way to display that
elseif ($status[0] == 4)
{
return 'Status '.$status.' (TEMPORARY FAILURE): '.$meta;
return 'Error '.$status.' (TEMPORARY FAILURE): '.$meta;
}
elseif ($status[0] == 5)
{
return 'Status '.$status.' (PERMANENT FAILURE): '.$meta;
return 'Error '.$status.' (PERMANENT FAILURE): '.$meta;
}
elseif ($status[0] == 6)
{
return 'Status '.$status.' (CLIENT CERTIFICATE REQUIRED): '.$meta;
return 'Error '.$status.' (CLIENT CERTIFICATE REQUIRED): '.$meta;
}
else
{