diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-06-02 02:16:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-02 02:16:41 +0800 |
commit | 003172231a46ea4587dfdf55ec3ba0803597419b (patch) | |
tree | 8486f3b68163635820ed224f9a90d844ecf29d2f /app | |
parent | cc73d869fed79c63261821fb7ad8f1e5180ffca2 (diff) | |
parent | ccae937f412d9dbec509784a3ad3aa4d2911fdf0 (diff) | |
download | tangerine-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.js | 1 |
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() }) } } |