From 69f69143f5604626ded3c26ee754b94eaf3c4f15 Mon Sep 17 00:00:00 2001 From: sowgro Date: Fri, 30 Aug 2024 12:23:26 -0400 Subject: Clean up error handling pt.1 --- src/main/java/net/sowgro/npehero/editor/DiffEditor.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/net/sowgro/npehero/editor/DiffEditor.java') diff --git a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java index 77e5fa9..6485a4d 100755 --- a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java +++ b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java @@ -72,7 +72,6 @@ public class DiffEditor extends Page try { diff.leaderboard.save(); } catch (IOException e) { - e.printStackTrace(); Driver.setMenu(new ErrorDisplay("Failed to clear the leaderboard:\n"+e, this)); } }); @@ -97,7 +96,6 @@ public class DiffEditor extends Page try { diff.writeMetadata(); } catch (IOException e) { - e.printStackTrace(); //TODO throw new RuntimeException(e); } -- cgit v1.2.3