]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
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 670807b8ad0c403a14d167189eac51e0eae1b1e7..2e89c15d5379d051232f889c623566a9ff85edce 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)