Log the version of the new model if persistence fails.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@22 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-07-13 18:37:51 +00:00
parent 6404d3e0ab
commit b0c7ddf861
2 changed files with 4 additions and 2 deletions
@@ -468,7 +468,8 @@ public class SceneDirector extends BasicDirector
_screp.storeSceneModel(model); _screp.storeSceneModel(model);
} catch (ioe :IOError) { } catch (ioe :IOError) {
log.warning("Failed to update repository with updated scene " + log.warning("Failed to update repository with updated scene " +
"[sceneId=" + model.sceneId + "]."); "[sceneId=" + model.sceneId + ", nvers=" + model.version +
"].");
log.logStackTrace(ioe); log.logStackTrace(ioe);
} }
} }
@@ -475,7 +475,8 @@ public class SceneDirector extends BasicDirector
_screp.storeSceneModel(model); _screp.storeSceneModel(model);
} catch (IOException ioe) { } catch (IOException ioe) {
Log.warning("Failed to update repository with updated scene " + Log.warning("Failed to update repository with updated scene " +
"[sceneId=" + model.sceneId + "]."); "[sceneId=" + model.sceneId + ", nvers=" + model.version +
"].");
Log.logStackTrace(ioe); Log.logStackTrace(ioe);
} }
} }