Skip to content
Snippets Groups Projects
Commit 5acb3c4c authored by Thomas Müller's avatar Thomas Müller
Browse files

first log the exception

parent ad82a56f
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment