From 42a5c547af59deadd428ff06cc543bdb6ffa2e52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20Sch=C3=BCle?=
Date: Mon, 15 Jan 2024 09:46:19 +0100
Subject: [PATCH] tweak(Tinebase/Server): don't log 403 to sentry
---
tine20/Tinebase/Server/Abstract.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tine20/Tinebase/Server/Abstract.php b/tine20/Tinebase/Server/Abstract.php
index 2da92e4dd74..cef2e07d74c 100644
--- a/tine20/Tinebase/Server/Abstract.php
+++ b/tine20/Tinebase/Server/Abstract.php
@@ -169,7 +169,9 @@ protected static function _getModelConfigMethods($frontend)
continue;
}
} catch (Exception $e) {
- Tinebase_Exception::log($e);
+ if (! $e instanceof Tinebase_Exception_AccessDenied) {
+ Tinebase_Exception::log($e);
+ }
continue;
}