From: Ant Zucaro Date: Mon, 13 Feb 2017 21:41:22 +0000 (-0500) Subject: Remove the try-catch block here. It isn't needed. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ce1a9b98d4f5f94d70499d913e61e9f671f5662;p=xonotic%2Fxonstat.git Remove the try-catch block here. It isn't needed. --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 670807b..2e89c15 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -1041,10 +1041,7 @@ def submit_stats(request): game.players = player_ids for events in submission.teams: - try: - create_team_stat(session, game, events) - except Exception as e: - raise e + create_team_stat(session, game, events) if server.elo_ind and gametype_elo_eligible(submission.game_type_cd): ep = EloProcessor(session, game, pgstats)