diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 00:42:04 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 00:42:04 +0200 |
commit | 564e01eaf6f6523761695b74fde96eef5002ed9c (patch) | |
tree | afcaab562f6a45b0db675a22468eeb4717200b8c /app/assets/javascripts/components/actions/follow.jsx | |
parent | c9a7e6e1e3d60e142c035006e7806643c173f63a (diff) |
Add console.error to all axios failures
Diffstat (limited to 'app/assets/javascripts/components/actions/follow.jsx')
-rw-r--r-- | app/assets/javascripts/components/actions/follow.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/actions/follow.jsx b/app/assets/javascripts/components/actions/follow.jsx index 8eb440789..74981cd17 100644 --- a/app/assets/javascripts/components/actions/follow.jsx +++ b/app/assets/javascripts/components/actions/follow.jsx @@ -22,6 +22,7 @@ export function submitFollow(router) { dispatch(submitFollowSuccess(response.data)); router.push(`/accounts/${response.data.id}`); }).catch(function (error) { + console.error(error); dispatch(submitFollowFail(error)); }); }; |