aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 41a2184..154d947 100644
--- a/index.php
+++ b/index.php
@@ -38,5 +38,6 @@ try {
Sentry\captureException($e);
}
Logger::errorex($e, true);
+ http_response_code(500);
echo '<h1>⚠ Woops ! There is a little problem : </h1>', $e->getMessage(), "\n";
}