summaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 15:37:03 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:13 +0200
commite1f52fc9019856d52466d9b796ce738e31f1c4ca (patch)
tree489387720f34360dc58e9f29fb800e1e2af26145 /status.php
parent456392e627de3aad19c8188974a4972cf4e274db (diff)
downloadnextcloud-server-e1f52fc9019856d52466d9b796ce738e31f1c4ca.tar.gz
nextcloud-server-e1f52fc9019856d52466d9b796ce738e31f1c4ca.zip
Stricter phan config fixes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'status.php')
-rw-r--r--status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.php b/status.php
index 3d2d8f59d75..293d843c6d6 100644
--- a/status.php
+++ b/status.php
@@ -56,5 +56,5 @@ try {
} catch (Exception $ex) {
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
- \OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
+ \OC::$server->getLogger()->logException($ex, ['app' => 'remote']);
}