aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f4e3321..49974f7 100644
--- a/index.php
+++ b/index.php
@@ -7,7 +7,7 @@ require('./vendor/autoload.php');
try {
Wcms\Logger::init('w_error.log', 2);
-} catch (Throwable $e) {
+} catch (RuntimeException $e) {
die('Unable to init logs: ' . $e->getMessage());
}