From c6e5264b7b2c7e1765e7e2936a77cf518e65ae3b Mon Sep 17 00:00:00 2001 From: bm01 Date: Tue, 3 Jul 2012 23:28:58 +0200 Subject: [PATCH] Print the stack trace for easier debugging --- .../java/com/gmail/nossr50/datatypes/PlayerProfile.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java index 7886e8007..b75995ca9 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/PlayerProfile.java @@ -279,7 +279,7 @@ public class PlayerProfile { in.close(); } catch (Exception e) { - mcMMO.p.getLogger().severe("Exception while reading " + location + " (Are you sure you formatted it correctly?)" + e.toString()); + e.printStackTrace(); } return false; } @@ -398,7 +398,7 @@ public class PlayerProfile { out.close(); } catch (Exception e) { - mcMMO.p.getLogger().severe("Exception while writing to " + location + " (Are you sure you formatted it correctly?)" + e.toString()); + e.printStackTrace(); } } } @@ -453,7 +453,7 @@ public class PlayerProfile { out.newLine(); out.close(); } catch (Exception e) { - mcMMO.p.getLogger().severe("Exception while writing to " + location + " (Are you sure you formatted it correctly?)" + e.toString()); + e.printStackTrace(); } }