report errors as errors (#2 related)
This commit is contained in:
parent
adb34d2732
commit
fe5ace1b9b
1 changed files with 3 additions and 3 deletions
|
@ -184,15 +184,15 @@ function fetch_iri_title($iri)
|
||||||
// 4x 5x 6x are error statuses, should find a better way to display that
|
// 4x 5x 6x are error statuses, should find a better way to display that
|
||||||
elseif ($status[0] == 4)
|
elseif ($status[0] == 4)
|
||||||
{
|
{
|
||||||
return 'Status '.$status.' (TEMPORARY FAILURE): '.$meta;
|
return 'Error '.$status.' (TEMPORARY FAILURE): '.$meta;
|
||||||
}
|
}
|
||||||
elseif ($status[0] == 5)
|
elseif ($status[0] == 5)
|
||||||
{
|
{
|
||||||
return 'Status '.$status.' (PERMANENT FAILURE): '.$meta;
|
return 'Error '.$status.' (PERMANENT FAILURE): '.$meta;
|
||||||
}
|
}
|
||||||
elseif ($status[0] == 6)
|
elseif ($status[0] == 6)
|
||||||
{
|
{
|
||||||
return 'Status '.$status.' (CLIENT CERTIFICATE REQUIRED): '.$meta;
|
return 'Error '.$status.' (CLIENT CERTIFICATE REQUIRED): '.$meta;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue