aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-06-02 02:16:41 +0800
committerGitHub <noreply@github.com>2018-06-02 02:16:41 +0800
commit003172231a46ea4587dfdf55ec3ba0803597419b (patch)
tree8486f3b68163635820ed224f9a90d844ecf29d2f /app
parentcc73d869fed79c63261821fb7ad8f1e5180ffca2 (diff)
parentccae937f412d9dbec509784a3ad3aa4d2911fdf0 (diff)
downloadtangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar.gz
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar.bz2
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar.lz
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar.xz
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.tar.zst
tangerine-wallet-browser-003172231a46ea4587dfdf55ec3ba0803597419b.zip
Merge pull request #4433 from MetaMask/i4431-error-throwing
End json-rpc-engine stack on error
Diffstat (limited to 'app')
-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()
})
}
}