diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-07-06 06:40:42 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-07-06 06:40:42 +0800 |
commit | 1f1737a63e316a9c97fc04c1a2258195f0ce6c49 (patch) | |
tree | 1421ad7158e2afd36abf56f367dd03db5fab5409 /app | |
parent | 8d67a820a95631458e5035bd85dd7996bfad11f7 (diff) | |
parent | 25598f1b6ffc110619332dc5e69dd72d6c157621 (diff) | |
download | tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar.gz tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar.bz2 tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar.lz tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar.xz tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.tar.zst tangerine-wallet-browser-1f1737a63e316a9c97fc04c1a2258195f0ce6c49.zip |
Merge branch 'master' into thinFont
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/metamask-controller.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 470591323..8a5ffb75a 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -89,10 +89,12 @@ module.exports = class MetamaskController { }) function logger (err, request, response) { - if (err) return console.error(err.stack) + if (err) return console.error(err) if (!request.isMetamaskInternal) { console.log(`RPC (${originDomain}):`, request, '->', response) - if (response.error) console.error('Error in RPC response:\n' + response.error.message) + if (response.error) { + console.error('Error in RPC response:\n', response.error) + } } } } |