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

@@ -170,10 +170,9 @@ public final class PortalFileHelper {
"Starting post loading tasks", world));
doPostLoadTasks(world, needsToSaveDatabase);
return true;
} catch (Exception e) {
Stargate.logSevere(String.format("Exception while reading stargates from %s: %d", database.getName(),
lineIndex));
e.printStackTrace();
} catch (Exception exception) {
Stargate.logSevere(String.format("Exception while reading stargates from %s: %d! Message: %s",
database.getName(), lineIndex, exception.getMessage()));
}
return false;
}