From 4c703c1e61bf7f19077cd585664ebf1cf3160935 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Fri, 15 Apr 2016 08:03:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D1=82=D0=BD=D0=BE=20throw=20Error=20=D0=B2?= =?UTF-8?q?=20actions.=20=D0=A3=D0=B1=D0=B5=D1=80=D1=83,=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=20=D0=B1=D0=BB=D0=B8=D0=B7=D0=B6=D0=B0=D0=B9?= =?UTF-8?q?=D1=88=D0=B5=D0=B3=D0=BE=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=BD=D0=B3=D0=B0=20=D0=B8=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D1=8F=20=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/auth/actions.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/auth/actions.js b/src/components/auth/actions.js index c95fc17..da05e08 100644 --- a/src/components/auth/actions.js +++ b/src/components/auth/actions.js @@ -35,7 +35,6 @@ export function login({login = '', password = '', rememberMe = false}) { } const errorMessage = resp.errors[Object.keys(resp.errors)[0]]; dispatch(setError(errorMessage)); - } else { throw new Error(errorMessage); }