Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ public Mono<Tenant> getDefaultTenant() {
.tap(Micrometer.observation(observationRegistry))
.flatMap(tenant -> repository.setUserPermissionsInObject(tenant).switchIfEmpty(Mono.just(tenant)))
.onErrorResume(e -> {
log.error("Error fetching default tenant from redis!", e);
e.printStackTrace();
log.error("Error fetching default tenant from redis : {}", e.getMessage());
// If there is an error fetching the tenant from the cache, then evict the cache and fetching from
// the db. This handles the case for deserialization errors. This prevents the entire instance to
// go down if tenant cache is corrupted.
Expand Down
Loading