From: Ant Zucaro Date: Wed, 20 Jun 2012 13:06:58 +0000 (-0400) Subject: Debug message when a duplicate game is submitted. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2b09cc55f5b25f5b08ffcf18a7203284dc6e017d;p=xonotic%2Fxonstat.git Debug message when a duplicate game is submitted. --- diff --git a/xonstat/views/submission.py b/xonstat/views/submission.py index 68610cf..950450f 100644 --- a/xonstat/views/submission.py +++ b/xonstat/views/submission.py @@ -273,6 +273,9 @@ def create_game(session=None, start_dt=None, game_type_cd=None, try: session.query(Game).filter(Game.server_id==server_id).\ filter(Game.match_id==match_id).one() + + log.debug("Error: game with same server and match_id found! Ignoring.") + # if a game under the same server and match_id found, # this is a duplicate game and can be ignored raise pyramid.httpexceptions.HTTPOk('OK')