More debug if fail connection to database

This commit is contained in:
Michel Roux 2012-05-09 17:33:21 +02:00
parent ce9af8af6d
commit cf7c8146e0

View File

@ -98,7 +98,7 @@ public class SimplyPlugin extends JavaPlugin {
if (configsql.checkDatabase()) { if (configsql.checkDatabase()) {
config = configsql; config = configsql;
} else { } else {
debug("Fail to connect to database !"); getLogger().info("Fail to connect to database !");
config = new ConfigFile(this); config = new ConfigFile(this);
} }
} }