fix missing id_ parameter to _render_error
This commit is contained in:
parent
1a850b0256
commit
13bfcb3561
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ class AuthJSONRPCServer(AuthorizedBase):
|
||||||
# handle deferredLists that won't peacefully cancel, namely
|
# handle deferredLists that won't peacefully cancel, namely
|
||||||
# get_lbry_files
|
# get_lbry_files
|
||||||
d.addErrback(trap, ConnectionDone, ConnectionLost, defer.CancelledError, RuntimeError)
|
d.addErrback(trap, ConnectionDone, ConnectionLost, defer.CancelledError, RuntimeError)
|
||||||
d.addErrback(log.fail(self._render_error, request, version=version),
|
d.addErrback(log.fail(self._render_error, request, id_, version=version),
|
||||||
'Failed to process %s', function_name)
|
'Failed to process %s', function_name)
|
||||||
d.addBoth(lambda _: log.debug("%s took %f",
|
d.addBoth(lambda _: log.debug("%s took %f",
|
||||||
function_name,
|
function_name,
|
||||||
|
|
Loading…
Reference in a new issue