aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/FrontController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-04-17 20:55:43 +0200
committerGravatar GitHub <noreply@github.com> 2021-04-17 20:55:43 +0200
commit1f24a5d50eba30dcdbf26106f539c6c47eea439f (patch)
treeb10144067479847b16f38649b1e7740fb0588000 /lib/Minz/FrontController.php
parent83a352e4bf314effa15f4b2f9805c35b252ec2f0 (diff)
Show start error (#3590)
* Show start error #fix https://github.com/FreshRSS/FreshRSS/issues/3581 We were not showing the actual error for several types of exceptions, e.g. database connection error. Possible regression since https://github.com/FreshRSS/FreshRSS/pull/3407 * Try to make the error message less confusing
Diffstat (limited to 'lib/Minz/FrontController.php')
-rw-r--r--lib/Minz/FrontController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php
index b6831c2f3..d6ab756bf 100644
--- a/lib/Minz/FrontController.php
+++ b/lib/Minz/FrontController.php
@@ -96,7 +96,7 @@ class Minz_FrontController {
true
);
} else {
- $this->killApp();
+ $this->killApp($e->getMessage());
}
}
}