diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java index 9ee1dc4a61..92ba2b0564 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java @@ -37,7 +37,7 @@ public class HealthCheckServiceCEImpl implements HealthCheckServiceCE { @Override public Mono getRedisHealth() { Function healthTimeout = error -> { - log.warn("Redis health check timed out: ", error.getMessage()); + log.warn("Redis health check timed out: {}", error.getMessage()); return new AppsmithException(AppsmithError.HEALTHCHECK_TIMEOUT, "Redis"); }; RedisReactiveHealthIndicator redisReactiveHealthIndicator = new RedisReactiveHealthIndicator(reactiveRedisConnectionFactory); @@ -47,7 +47,7 @@ public class HealthCheckServiceCEImpl implements HealthCheckServiceCE { @Override public Mono getMongoHealth() { Function healthTimeout = error -> { - log.warn("MongoDB health check timed out: ", error.getMessage()); + log.warn("MongoDB health check timed out: {}", error.getMessage()); return new AppsmithException(AppsmithError.HEALTHCHECK_TIMEOUT, "Mongo"); }; MongoReactiveHealthIndicator mongoReactiveHealthIndicator = new MongoReactiveHealthIndicator(reactiveMongoTemplate);