From e132ccbd51b0045fe303d382bd2a6446c5ce741a Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Mon, 12 Aug 2013 12:44:11 +0200 Subject: [PATCH] removed wrong exception that masked other errors --- gluon/tools.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gluon/tools.py b/gluon/tools.py index 22338607..cdbf6686 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4584,8 +4584,6 @@ class Service(object): data = json_parser.loads(request.body.read()) except ValueError: # decoding error in json lib return return_error(None, -32700) - except json_parser.JSONDecodeError: # decoding error in simplejson lib - return return_error(None, -32700) # Batch handling if isinstance(data, list) and not batch_element: