From 0ce1a9b98d4f5f94d70499d913e61e9f671f5662 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 13 Feb 2017 16:41:22 -0500 Subject: [PATCH] Remove the try-catch block here. It isn't needed. --- xonstat/views/submission.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) -- 2.39.2