fix missing id_ parameter to _render_error

This commit is contained in:
Job Evers-Meltzer 2017-01-17 20:01:28 -06:00
parent 1a850b0256
commit 13bfcb3561

View file

@ -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,