You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by yc...@apache.org on 2025/08/14 17:42:31 UTC
(cassandra-sidecar) branch trunk updated: CASSSIDECAR-250: Do not log whole exception when schema is not found (#248)
This is an automated email from the ASF dual-hosted git repository.
ycai pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-sidecar.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2e7fb309 CASSSIDECAR-250: Do not log whole exception when schema is not found (#248)
2e7fb309 is described below
commit 2e7fb309e8f76686ce60abf0b2c285cddba44a70
Author: Saranya Krishnakumar <sa...@apple.com>
AuthorDate: Thu Aug 14 10:42:26 2025 -0700
CASSSIDECAR-250: Do not log whole exception when schema is not found (#248)
Patch by Saranya Krishnakumar; Reviewed by Stefan Miklosovic, Yifan Cai for CASSSIDECAR-250
---
CHANGES.txt | 1 +
server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.txt b/CHANGES.txt
index cceba775..3227e36f 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,6 @@
0.2.0
-----
+ * Do not log whole exception when schema is not found (CASSSIDECAR-250)
* Add comprehensive OpenAPI documentation (CASSSIDECAR-176)
* Fix type used for reading member_of column in SystemAuthDatabaseAccessor (CASSSIDECAR-333)
* Remove Jolokia agent (CASSSIDECAR-330)
diff --git a/server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java b/server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java
index 21e867df..f60ab103 100644
--- a/server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java
+++ b/server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java
@@ -169,7 +169,7 @@ public abstract class AuthCache<K, V>
}
catch (SchemaUnavailableException sue)
{
- logger.warn("system_auth schema is unavailable. Skip warming up cache", sue);
+ logger.warn(sue.getMessage() + ". Skip warming up cache");
}
catch (Exception e)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org