aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/createErrorMiddleware.js
diff options
context:
space:
mode:
authorBruno <brunobar79@gmail.com>2018-06-06 09:37:45 +0800
committerBruno <brunobar79@gmail.com>2018-06-06 09:37:45 +0800
commit4371801083e63838b6000a6818b418e36c39f539 (patch)
treec2a9e3c68605ca4b5a8feaf0d2f0cb6677d78b15 /app/scripts/lib/createErrorMiddleware.js
parentde9672726833e26ea96d198c0d9f1464015614f5 (diff)
parentc2e3194dbf4e2a3fd2bdffb3300ec0cd822dc78e (diff)
downloadtangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar.gz
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar.bz2
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar.lz
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar.xz
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.tar.zst
tangerine-wallet-browser-4371801083e63838b6000a6818b418e36c39f539.zip
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'app/scripts/lib/createErrorMiddleware.js')
-rw-r--r--app/scripts/lib/createErrorMiddleware.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/lib/createErrorMiddleware.js b/app/scripts/lib/createErrorMiddleware.js
index baed99e45..c70beddfd 100644
--- a/app/scripts/lib/createErrorMiddleware.js
+++ b/app/scripts/lib/createErrorMiddleware.js
@@ -59,6 +59,7 @@ function createErrorMiddleware ({ override = true } = {}) {
if (!error) { return done() }
sanitizeRPCError(error)
log.error(`MetaMask - RPC Error: ${error.message}`, error)
+ done()
})
}
}