aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-07-12 05:17:47 +0800
committerkumavis <aaron@kumavis.me>2017-07-12 05:17:47 +0800
commit9f46984fee8f4fa8268ac9bd70081c58708ac8ea (patch)
treef4e8886aebd3e473e05d59be3d2d4da492bb85ba /app
parent6587f6eabda08629b7fce431820f92ab275bbf75 (diff)
downloadtangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar.gz
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar.bz2
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar.lz
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar.xz
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.tar.zst
tangerine-wallet-browser-9f46984fee8f4fa8268ac9bd70081c58708ac8ea.zip
metamask - on rpc err show whole error body
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 73093dfad..0e7ccbd66 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -367,7 +367,7 @@ module.exports = class MetamaskController extends EventEmitter {
function onResponse (err, request, response) {
if (err) return console.error(err)
if (response.error) {
- console.error('Error in RPC response:\n', response.error)
+ console.error('Error in RPC response:\n', response)
}
if (request.isMetamaskInternal) return
log.info(`RPC (${originDomain}):`, request, '->', response)