Bug 4428: Improved an error message to be able to track the problem next

time it occurs
This commit is contained in:
Steffen Schaefer committed 2018-01-29 15:56:38 +01:00
1 parent 959d5de9e4
commit 587e7ba9be
1 file changed
+1 -1
@@ -78,7 +78,7 @@ public final class EventActionUtil {
}
}
if (leaderboardGroups.isEmpty()) {
throw new DispatchException("The leaderboard is not part of the given event.");
throw new DispatchException("The leaderboard '" + leaderboardId + "' is not part of the given event '" + eventId + "'.");
}
return new LeaderboardContext(context, event, leaderboardGroups, leaderboard);
}