summaryrefslogtreecommitdiffstats
path: root/lib/Controller/OAuthController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/OAuthController.php')
-rw-r--r--lib/Controller/OAuthController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/OAuthController.php b/lib/Controller/OAuthController.php
index 3f46cdc9..23a22c88 100644
--- a/lib/Controller/OAuthController.php
+++ b/lib/Controller/OAuthController.php
@@ -268,6 +268,7 @@ class OAuthController extends Controller {
], Http::STATUS_OK
);
} catch (Exception $e) {
+ $this->miscService->log($e->getMessage() . ' ' . get_class($e));
return new DataResponse(['error' => $e->getMessage()], Http::STATUS_UNAUTHORIZED);
}
}