Log Exception-Message when stopping plugin load due to database error

This commit is contained in:
Christian Koop 2023-03-29 20:44:05 +02:00
parent f65cefe388
commit ce30e4c2fe
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class UltimateKits extends SongodaPlugin {
dataMigrationManager.runMigrations();
} catch (Exception ex) {
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();
return;
}