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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user