Skip to content
Snippets Groups Projects
Commit 9c9bfcd6 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

log as index, not remote

parent 39cca729
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,6 @@ try { ...@@ -32,6 +32,6 @@ try {
} catch (Exception $ex) { } catch (Exception $ex) {
//show the user a detailed error page //show the user a detailed error page
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL); \OCP\Util::writeLog('index', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex); OC_Template::printExceptionErrorPage($ex);
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment