From: Thomas Müller Date: Sun, 15 Sep 2013 19:20:22 +0000 (+0200) Subject: first log the exception X-Git-Tag: v6.0.0alpha2~121^2~23 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5acb3c4c0d570b2bf7b209d61e5e7849f4f3a363;p=nextcloud-server.git first log the exception --- diff --git a/index.php b/index.php index 90fd3efcc96..40063fa6e05 100755 --- a/index.php +++ b/index.php @@ -31,7 +31,7 @@ try { } catch (Exception $ex) { //show the user a detailed error page - OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); \OCP\Util::writeLog('index', $ex->getMessage(), \OCP\Util::FATAL); + OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); }