Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 cc5d5215770..274a2edc610 100644
--- a/status.php
+++ b/status.php
@@ -59,6 +59,6 @@ try {
}
} catch (Exception $ex) {
- OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
+ http_response_code(500);
\OC::$server->getLogger()->logException($ex, ['app' => 'remote']);
}