Revert previous change.

This commit is contained in:
Mattias Põldaru 2011-12-23 16:54:08 +02:00
parent 2508e71a44
commit 706fa7ff49

View File

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