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 'ocs/v1.php')
-rw-r--r--ocs/v1.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ocs/v1.php b/ocs/v1.php
index 79e74f20cdf..31eb0687955 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -90,6 +90,7 @@ try {
} catch (\OC\User\LoginException $e) {
OC_API::respond(new OC_OCS_Result(null, \OCP\API::RESPOND_UNAUTHORISED, 'Unauthorised'));
} catch (\Exception $e) {
+ \OC::$server->getLogger()->logException($e);
OC_API::setContentType();
OC_OCS::notFound();
}