diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-15 21:20:22 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-15 21:20:22 +0200 |
commit | 5acb3c4c0d570b2bf7b209d61e5e7849f4f3a363 (patch) | |
tree | 6921e33f5198509eab4684c29301c84dca32a4dc /index.php | |
parent | ad82a56f79fa46fae0742d0647008025e32c3d2b (diff) | |
download | nextcloud-server-5acb3c4c0d570b2bf7b209d61e5e7849f4f3a363.tar.gz nextcloud-server-5acb3c4c0d570b2bf7b209d61e5e7849f4f3a363.zip |
first log the exception
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |