Skip to content

Commit 2e7fb30

Browse files
authored
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
1 parent 0179d34 commit 2e7fb30

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
0.2.0
22
-----
3+
* Do not log whole exception when schema is not found (CASSSIDECAR-250)
34
* Add comprehensive OpenAPI documentation (CASSSIDECAR-176)
45
* Fix type used for reading member_of column in SystemAuthDatabaseAccessor (CASSSIDECAR-333)
56
* Remove Jolokia agent (CASSSIDECAR-330)

server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ protected void warmUp(int availableRetries)
169169
}
170170
catch (SchemaUnavailableException sue)
171171
{
172-
logger.warn("system_auth schema is unavailable. Skip warming up cache", sue);
172+
logger.warn(sue.getMessage() + ". Skip warming up cache");
173173
}
174174
catch (Exception e)
175175
{

0 commit comments

Comments
 (0)