- print stack trace for SaveGame tool errors

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent fc9cb03462
commit 8739632262
  1. 2
      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();
}
}
}

Loading…
Cancel
Save