diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py index 772c00bc330e43..d93b2a890cf40f 100644 --- a/test/functional/test_framework/authproxy.py +++ b/test/functional/test_framework/authproxy.py @@ -143,7 +143,7 @@ def __call__(self, *args, **argsn): 'code': -342, 'message': 'Received non-JSON or malformed JSON response' }) - + if response.get('error') is not None: raise JSONRPCException(response['error'], status) elif 'result' not in response: