Log Exception-Message when stopping plugin load due to database error
This commit is contained in:
parent
f65cefe388
commit
ce30e4c2fe
|
@ -185,7 +185,7 @@ public class UltimateKits extends SongodaPlugin {
|
||||||
dataMigrationManager.runMigrations();
|
dataMigrationManager.runMigrations();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
this.getLogger().severe("Fatal error trying to connect to database. " +
|
this.getLogger().severe("Fatal error trying to connect to database. " +
|
||||||
"Please make sure all your connection settings are correct and try again. Plugin has been disabled.");
|
"Please make sure all your connection settings are correct and try again. Plugin has been disabled. (" + ex.getMessage() + ")");
|
||||||
emergencyStop();
|
emergencyStop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue