diff options
-rw-r--r-- | jsonrpclib/jsonrpclib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpclib/jsonrpclib.py b/jsonrpclib/jsonrpclib.py index c423ab9..01d61b9 100644 --- a/jsonrpclib/jsonrpclib.py +++ b/jsonrpclib/jsonrpclib.py @@ -457,7 +457,7 @@ def check_for_errors(result): if 'error' in result.keys() and result['error'] != None: code = result['error']['code'] message = result['error']['message'] - raise ProtocolError('ERROR %s: %s' % (code, message)) + raise ProtocolError((code, message)) return result def isbatch(result): |