From 843fef0490493d1c21863fcd339695177542da53 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 20 Mar 2015 12:21:03 +0100 Subject: Handle session initialization errors and display error page - fixes #15053 --- lib/base.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/base.php') diff --git a/lib/base.php b/lib/base.php index 00117918c87..da4b3a47c75 100644 --- a/lib/base.php +++ b/lib/base.php @@ -415,6 +415,7 @@ class OC { } // if session cant be started break with http 500 error } catch (Exception $e) { + \OCP\Util::logException('base', $e); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($e); -- cgit v1.2.3