From 1f24a5d50eba30dcdbf26106f539c6c47eea439f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 17 Apr 2021 20:55:43 +0200 Subject: 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 --- lib/Minz/FrontController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Minz/FrontController.php') 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()); } } } -- cgit v1.2.3