From 708490a43cbea76df23cd30f7df60fe6b98e9b19 Mon Sep 17 00:00:00 2001 From: Sharlotte Date: Wed, 6 Dec 2023 12:09:49 +0900 Subject: [PATCH] refactor: change logging to `Log.err` --- src/informatis/core/Pathfinder.java | 2 +- .../ui/fragments/sidebar/windows/MapEditorWindow.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/informatis/core/Pathfinder.java b/src/informatis/core/Pathfinder.java index e6c78e8..b1eb701 100644 --- a/src/informatis/core/Pathfinder.java +++ b/src/informatis/core/Pathfinder.java @@ -274,7 +274,7 @@ public void run(){ return; } }catch(Throwable e){ - e.printStackTrace(); + Log.err(e); } } } diff --git a/src/informatis/ui/fragments/sidebar/windows/MapEditorWindow.java b/src/informatis/ui/fragments/sidebar/windows/MapEditorWindow.java index 89c68b8..8e970e5 100644 --- a/src/informatis/ui/fragments/sidebar/windows/MapEditorWindow.java +++ b/src/informatis/ui/fragments/sidebar/windows/MapEditorWindow.java @@ -646,8 +646,8 @@ void fill(int x, int y, boolean replace, Boolf tester, Cons filler){ //hack stack = null; System.gc(); - e.printStackTrace(); stack = new IntSeq(); + Log.err(e); } } }