From 543285358af9fde3fcfe66028c62c1596b5f032e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 31 Jul 2024 08:21:32 +0200 Subject: [PATCH] fix: Move not found errors to info level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/AOCSController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/AOCSController.php b/lib/Controller/AOCSController.php index 54cd1411f..4f3d8720b 100644 --- a/lib/Controller/AOCSController.php +++ b/lib/Controller/AOCSController.php @@ -56,7 +56,7 @@ protected function handlePermissionError(PermissionError $e): DataResponse { * @return DataResponse */ protected function handleNotFoundError(NotFoundError $e): DataResponse { - $this->logger->warning('A not found error occurred: ['. $e->getCode() . ']' . $e->getMessage()); + $this->logger->info('A not found error occurred: ['. $e->getCode() . ']' . $e->getMessage()); return new DataResponse(['message' => $this->n->t('A not found error occurred. More details can be found in the logs. Please reach out to your administration.')], Http::STATUS_NOT_FOUND); }