]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Debug message when a duplicate game is submitted.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 20 Jun 2012 13:06:58 +0000 (09:06 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 20 Jun 2012 13:06:58 +0000 (09:06 -0400)
xonstat/views/submission.py

index 68610cf1ff92806e4ca52cc5b4e077ef6b21ec3a..950450f1dcc392178307fd72c0bedb2cc0ac5a47 100644 (file)
@@ -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')