diff options
author | Tom Needham <tom@owncloud.com> | 2013-10-12 09:15:08 +0100 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2013-10-12 09:15:08 +0100 |
commit | 6f8dd547889e2479eac62f42217835d8d4f38f49 (patch) | |
tree | 8352a816311dee1f2f21f802f6b078f1b328d79b /lib | |
parent | cf7ea4bec5be91790682417dfe5cc60eccab8a8a (diff) | |
download | nextcloud-server-6f8dd547889e2479eac62f42217835d8d4f38f49.tar.gz nextcloud-server-6f8dd547889e2479eac62f42217835d8d4f38f49.zip |
Include exception message in log entry when session fails to start
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |