aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-03-09 05:27:38 +0800
committerkumavis <aaron@kumavis.me>2016-03-09 05:27:38 +0800
commit099bb6e63d22bf6e88644c9e98f998d04cf1c4c0 (patch)
tree1a329bea8e4d557a8d44e50ea4bfed11154fd5f1 /app
parent1c8049520d0a3c469840601cb2fe6608c2e84f4e (diff)
downloadtangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar.gz
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar.bz2
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar.lz
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar.xz
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.tar.zst
tangerine-wallet-browser-099bb6e63d22bf6e88644c9e98f998d04cf1c4c0.zip
deps - bump ui and provider-engine
Diffstat (limited to 'app')
-rw-r--r--app/scripts/background.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index fb2fad54b..472ef5aeb 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -61,8 +61,8 @@ function getState(){
function onRpcRequest(remotePort, payload){
// console.log('MetaMaskPlugin - incoming payload:', payload)
zeroClient.sendAsync(payload, function onPayloadHandled(err, response){
- if (err) throw err
- console.log('MetaMaskPlugin - RPC complete:', payload, '->', response)
+ // provider engine errors are included in response objects
+ if (!payload.isMetamaskInternal) console.log('MetaMaskPlugin - RPC complete:', payload, '->', response)
try {
remotePort.postMessage(response)
} catch (_) {