More debug if fail connection to database
This commit is contained in:
parent
ce9af8af6d
commit
cf7c8146e0
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user