From 0e48ddfceb0e0ac4b271b1d946c567539c8d4432 Mon Sep 17 00:00:00 2001 From: kumavis Date: Tue, 1 May 2018 11:16:35 -0700 Subject: [PATCH] ui - actions - importNewAccount - rethrow err on failure --- ui/app/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/actions.js b/ui/app/actions.js index e817fa907..f060e40bd 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -535,7 +535,7 @@ function importNewAccount (strategy, args) { } catch (err) { dispatch(actions.hideLoadingIndication()) dispatch(actions.displayWarning(err.message)) - return + throw err } dispatch(actions.hideLoadingIndication()) dispatch(actions.updateMetamaskState(newState))