mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
log as index, not remote
This commit is contained in:
parent
39cca72964
commit
9c9bfcd626
1 changed files with 2 additions and 2 deletions
|
|
@ -32,6 +32,6 @@ try {
|
|||
} catch (Exception $ex) {
|
||||
//show the user a detailed error page
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue