We don't need to log a warning on NoSuchSceneException.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@476 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -44,6 +44,7 @@ import com.threerings.whirled.data.SceneCodes;
|
||||
import com.threerings.whirled.data.SceneModel;
|
||||
import com.threerings.whirled.data.SceneUpdate;
|
||||
import com.threerings.whirled.server.persist.SceneRepository;
|
||||
import com.threerings.whirled.util.NoSuchSceneException;
|
||||
import com.threerings.whirled.util.SceneFactory;
|
||||
import com.threerings.whirled.util.UpdateList;
|
||||
|
||||
@@ -285,8 +286,11 @@ public class SceneRegistry
|
||||
*/
|
||||
protected void processFailedResolution (int sceneId, Exception cause)
|
||||
{
|
||||
// if this is not simply a missing scene, log a warning
|
||||
if (!(cause instanceof NoSuchSceneException)) {
|
||||
Log.info("Failed to resolve scene [sceneId=" + sceneId + ", cause=" + cause + "].");
|
||||
Log.logStackTrace(cause);
|
||||
}
|
||||
|
||||
// alas things didn't work out, notify our penders
|
||||
ArrayList penders = (ArrayList)_penders.remove(sceneId);
|
||||
|
||||
Reference in New Issue
Block a user