From: Bernhard Posselt Date: Mon, 25 Feb 2013 17:42:09 +0000 (+0100) Subject: write an error log when session could not be initialized X-Git-Tag: v5.0.0RC1~47^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bc2fefed59f2d3f662e34332065a3ba02cccdd6f;p=nextcloud-server.git write an error log when session could not be initialized --- diff --git a/lib/base.php b/lib/base.php index 16aa7bff305..3ca2daccd29 100644 --- a/lib/base.php +++ b/lib/base.php @@ -322,6 +322,8 @@ class OC { // if session cant be started break with http 500 error if (session_start() === false){ + OC_Log::write('core', 'Session could not be initialized', + OC_Log::ERROR); header('HTTP/1.1 500 Internal Server Error'); exit(1); }