summaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
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']);
}