summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 40063fa6e05..0a2f15f9f5e 100755
--- a/index.php
+++ b/index.php
@@ -30,8 +30,9 @@ try {
OC::handleRequest();
} catch (Exception $ex) {
+ \OCP\Util::logException('index', $ex);
+
//show the user a detailed error page
- \OCP\Util::writeLog('index', $ex->getMessage(), \OCP\Util::FATAL);
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
OC_Template::printExceptionErrorPage($ex);
}