Removes stack trace printing

This commit is contained in:
2023-04-21 14:03:33 +02:00
parent fab067c94b
commit 05fadfa558
6 changed files with 15 additions and 23 deletions

View File

@@ -355,7 +355,7 @@ public class Stargate extends JavaPlugin {
try {
this.configuration.load(new File(getDataFolder(), configFileName));
} catch (IOException | InvalidConfigurationException e) {
e.printStackTrace();
logSevere("Unable to load the configuration! Message: " + e.getMessage());
}
}
@@ -365,7 +365,7 @@ public class Stargate extends JavaPlugin {
try {
this.configuration.save(new File(getDataFolder(), configFileName));
} catch (IOException e) {
e.printStackTrace();
logSevere("Unable to save the configuration! Message: " + e.getMessage());
}
}