From f1a1f4edd18f22089d684268b082bbf6c3a5a7a4 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sat, 26 Nov 2022 13:39:09 +0100 Subject: [PATCH] Change Exception Logger --- .../de/steamwar/schematicsystem/commands/SchematicCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index 17b880a..fc55c29 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -640,7 +640,7 @@ public class SchematicCommand extends SWCommand { } } catch (Exception e) { SchematicSystem.MESSAGE.send("COMMAND_FIX_ERROR", player); - e.printStackTrace(); + SchematicSystem.getInstance().getLogger().log(Level.SEVERE, e.getMessage(), e); } }