diff --git a/src/java/com/threerings/parlor/rating/server/RatingManagerDelegate.java b/src/java/com/threerings/parlor/rating/server/RatingManagerDelegate.java index 39a2288e..50bec509 100644 --- a/src/java/com/threerings/parlor/rating/server/RatingManagerDelegate.java +++ b/src/java/com/threerings/parlor/rating/server/RatingManagerDelegate.java @@ -224,7 +224,7 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate } final int gameId = getGameId(); - CrowdServer.invoker.postUnit(new RepositoryUnit("loadRatings") { + CrowdServer.invoker.postUnit(new RepositoryUnit("loadRatings(" + gameId + ")") { public void invokePersist () throws Exception { // map the records by player id so that we can correlate with the db results HashIntMap map = new HashIntMap(); @@ -249,11 +249,6 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate _ratings.put(rating.playerId, rating); } } - - public void handleFailure (Exception e) { - log.log(Level.WARNING, "Failed to load ratings [where=" + where() + - ", id=" + gameId + "].", e); - } }); } @@ -264,7 +259,7 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate } final int gameId = getGameId(); - CrowdServer.invoker.postUnit(new RepositoryUnit("saveRatings") { + CrowdServer.invoker.postUnit(new RepositoryUnit("saveRatings(" + gameId + ")") { public void invokePersist () throws Exception { for (Rating rating : ratings) { _repo.setRating(gameId, rating.playerId, rating.rating, rating.experience); @@ -277,11 +272,6 @@ public abstract class RatingManagerDelegate extends GameManagerDelegate updateRatingInMemory(gameId, rating); } } - - public void handleFailure (Exception e) { - log.log(Level.WARNING, "Failed to update ratings [where=" + where() + - ", id=" + gameId + "].", e); - } }); }