From 8739632262e5ca4aeab845e4ea2359d45fe0db4e Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 18 Oct 2011 00:31:50 +0000 Subject: [PATCH] - print stack trace for SaveGame tool errors git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/tools/jme3tools/savegame/SaveGame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/tools/jme3tools/savegame/SaveGame.java b/engine/src/tools/jme3tools/savegame/SaveGame.java index f80d27cfb..1d068cabe 100644 --- a/engine/src/tools/jme3tools/savegame/SaveGame.java +++ b/engine/src/tools/jme3tools/savegame/SaveGame.java @@ -78,12 +78,14 @@ public class SaveGame { sav = imp.load(is); } catch (IOException ex) { Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error loading data: {0}", ex); + ex.printStackTrace(); } finally { if (is != null) { try { is.close(); } catch (IOException ex) { Logger.getLogger(SaveGame.class.getName()).log(Level.SEVERE, "Error loading data: {0}", ex); + ex.printStackTrace(); } } }