diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-20 12:21:03 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-20 12:21:03 +0100 |
commit | 843fef0490493d1c21863fcd339695177542da53 (patch) | |
tree | 69fe7a9235d3c751dc3153fac6cf993ee012818a /lib/base.php | |
parent | a87cc90d1e7380a58bc4a60bd4cc1894ec41c33b (diff) | |
download | nextcloud-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.php | 1 |
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); |