From 46cf8915f931983e4cb9492277245c13a1ee82c4 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Wed, 26 Oct 2016 02:52:53 -0400 Subject: [PATCH] Restore JSON-RPC 2.0 error keys --- js/lbry.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/lbry.js b/js/lbry.js index 1bbf31414..e39980e82 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -36,9 +36,9 @@ lbry.jsonrpc_call = function (connectionString, method, params, callback, errorC connectionString: connectionString, method: method, params: params, - code: response.error.faultCode, - message: response.error.fault, - data: response.error.faultString + code: response.error.code, + message: response.error.message, + data: response.error.data } }); document.dispatchEvent(errorEvent)