Update key names in API error reporting
This commit is contained in:
parent
439f6523b1
commit
7f961ccc63
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ lbry.jsonrpc_call = function (connectionString, method, params, callback, errorC
|
|||
connectionString: connectionString,
|
||||
method: method,
|
||||
params: params,
|
||||
code: response.error.code,
|
||||
message: response.error.message,
|
||||
data: response.error.data
|
||||
code: response.error.faultCode,
|
||||
message: response.error.fault,
|
||||
data: response.error.faultString
|
||||
}
|
||||
});
|
||||
document.dispatchEvent(errorEvent)
|
||||
|
|
Loading…
Reference in a new issue