From 984a3ea6a4759845cc459c506d0f646c55c02176 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 30 Dec 2012 16:27:28 -0500 Subject: [PATCH] 404 when hashkey is not found. --- xonstat/views/player.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/xonstat/views/player.py b/xonstat/views/player.py index 8514260..24a6f26 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -740,13 +740,7 @@ def player_hashkey_info_data(request): ranks = get_ranks(player.player_id) except Exception as e: - raise e - player = None - games_played = None - overall_stats = None - fav_maps = None - elos = None - ranks = None + raise pyramid.httpexceptions.HTTPNotFound return {'player':player, 'hashkey':hashkey, -- 2.39.2