From 6f8dd547889e2479eac62f42217835d8d4f38f49 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sat, 12 Oct 2013 09:15:08 +0100 Subject: [PATCH] Include exception message in log entry when session fails to start --- lib/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 4744491141e..9068fe76981 100644 --- a/lib/base.php +++ b/lib/base.php @@ -304,7 +304,7 @@ class OC { self::$session = new \OC\Session\Internal(OC_Util::getInstanceId()); // if session cant be started break with http 500 error } catch (Exception $e) { - OC_Log::write('core', 'Session could not be initialized', + OC_Log::write('core', 'Session could not be initialized. Exception message: '.$e->getMessage(), OC_Log::ERROR); header('HTTP/1.1 500 Internal Server Error'); OC_Util::addStyle("styles"); -- 2.39.5