Remove the try-catch block here. It isn't needed.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 13 Feb 2017 21:41:22 +0000 (16:41 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 13 Feb 2017 21:41:22 +0000 (16:41 -0500)
xonstat/views/submission.py

index 670807b..2e89c15 100644 (file)
@@ -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)