Merge pull request #65 from michele-comitini/master
HTTP exceptions in jsonrpc2
This commit is contained in:
commit
1325b0e48f
1 file changed
+2
@@ -4475,6 +4475,8 @@ class Service(object):
|
|||||||
return return_response(id, s)
|
return return_response(id, s)
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
except HTTP, e:
|
||||||
|
raise e
|
||||||
except Service.JsonRpcException, e:
|
except Service.JsonRpcException, e:
|
||||||
return return_error(id, e.code, e.info)
|
return return_error(id, e.code, e.info)
|
||||||
except BaseException:
|
except BaseException:
|
||||||
|
|||||||
Reference in new issue
Block a user