mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Change mongo transaction warning message
This commit is contained in:
parent
f99f327480
commit
bcd96be625
@ -252,7 +252,8 @@ public class GameServer implements Runnable {
|
|||||||
session = mongo.startSession();
|
session = mongo.startSession();
|
||||||
session.startTransaction();
|
session.startTransaction();
|
||||||
} catch (MongoClientException e) {
|
} catch (MongoClientException e) {
|
||||||
LogManager.LOGGER.fine("Could not create mongoDB session, will not start a transaction.");
|
LogManager.LOGGER.fine("Could not create mongoDB session, will not use transaction feature. " +
|
||||||
|
"(This message can be safely ignored)");
|
||||||
}
|
}
|
||||||
|
|
||||||
MongoDatabase db = mongo.getDatabase(config.getString("mongo_dbname"));
|
MongoDatabase db = mongo.getDatabase(config.getString("mongo_dbname"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user