Permalink
Browse files

unfix the fix since it broke. Just ditch the debug info instead.

  • Loading branch information...
1 parent fd7b5f1 commit 44d2ca07b8478571c3703733d5a5741c6be8d286 @pjz pjz committed Aug 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 aspen/gauntlet.py
View
@@ -197,12 +197,12 @@ def _typecast(key, value):
try:
value = int(value)
except ValueError:
- raise Response(404, body="404 int typecasting; %s and %s" % (key, value))
+ raise Response(404)
else: # otherwise it's URL-quoted ASCII
try:
value = value.decode('ASCII')
except UnicodeDecodeError:
- raise Response(400, body="404 decoding typecasting; %s and %s" % (key, value))
+ raise Response(400)
return key, value
def trailing_slash(request):

0 comments on commit 44d2ca0

Please sign in to comment.