summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-20 12:21:03 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-20 12:21:03 +0100
commit843fef0490493d1c21863fcd339695177542da53 (patch)
tree69fe7a9235d3c751dc3153fac6cf993ee012818a /lib/base.php
parenta87cc90d1e7380a58bc4a60bd4cc1894ec41c33b (diff)
downloadnextcloud-server-843fef0490493d1c21863fcd339695177542da53.tar.gz
nextcloud-server-843fef0490493d1c21863fcd339695177542da53.zip
Handle session initialization errors and display error page - fixes #15053
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
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);