add todo
This commit is contained in:
parent
9410cd9e77
commit
7708c4a15c
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class AuthJSONRPCServer(AuthorizedBase):
|
||||||
response_content = jsonrpc_dumps_pretty(error, id=id_)
|
response_content = jsonrpc_dumps_pretty(error, id=id_)
|
||||||
|
|
||||||
self._set_headers(request, response_content)
|
self._set_headers(request, response_content)
|
||||||
# uncomment this after fixing lbrynet-cli to not raise exceptions on errors
|
# TODO: uncomment this after fixing lbrynet-cli to handle error code responses correctly
|
||||||
# try:
|
# try:
|
||||||
# request.setResponseCode(JSONRPCError.HTTP_CODES[error.code])
|
# request.setResponseCode(JSONRPCError.HTTP_CODES[error.code])
|
||||||
# except KeyError:
|
# except KeyError:
|
||||||
|
|
Loading…
Reference in a new issue