diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 86a41e9f..bcf95e7b 100755 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -112,6 +112,7 @@ public function getRelatedResources(string $providerId, string $itemId): DataRes return new DataResponse($new); } catch (Exception $e) { + $this->logger->error($e->getMessage(), ['exception' => $e]); throw new OCSException( ($e->getMessage() === '') ? get_class($e) : $e->getMessage(), Http::STATUS_BAD_REQUEST