[Web] f2b banlist - add http status codes

This commit is contained in:
FreddleSpl0it
2023-07-11 10:31:25 +02:00
parent 1537fb39c0
commit 987cfd5dae
2 changed files with 4 additions and 0 deletions

View File

@@ -70,6 +70,7 @@ try {
}
}
catch (Exception $e) {
http_response_code(500);
?>
<center style='font-family:sans-serif;'>Connection to Redis failed.<br /><br />The following error was reported:<br/><?=$e->getMessage();?></center>
<?php