diff --git a/commons/src/main/java/org/restheart/mongodb/ConnectionChecker.java b/commons/src/main/java/org/restheart/mongodb/ConnectionChecker.java index f83483defb..9f1b6ed56e 100644 --- a/commons/src/main/java/org/restheart/mongodb/ConnectionChecker.java +++ b/commons/src/main/java/org/restheart/mongodb/ConnectionChecker.java @@ -45,7 +45,7 @@ public class ConnectionChecker { mclient.getDatabase("admin").runCommand(document().put("ping", 1).get()); return true; } catch(Throwable t) { - LOGGER.error("Error checking connection with to MongoDb", t); + LOGGER.error("Error checking connection to MongoDb", t); return false; } });