Revert previous change.

This commit is contained in:
Mattias Põldaru 2011-12-23 16:54:08 +02:00
parent 2508e71a44
commit 706fa7ff49
1 changed files with 1 additions and 6 deletions

View File

@ -332,12 +332,7 @@ class HttpConnection(object):
args = []
for param in match.groups():
args.append(param)
try:
response = func(*args)
except ValueError as error:
log.exception(u'Error while decoding JSON message '
'from remote browser.')
return False
response = func(*args)
break
if response:
self.send_response(response)