From 564e01eaf6f6523761695b74fde96eef5002ed9c Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Tue, 18 Oct 2016 00:42:04 +0200
Subject: Add console.error to all axios failures

---
 app/assets/javascripts/components/actions/follow.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'app/assets/javascripts/components/actions/follow.jsx')

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));
     });
   };
-- 
cgit 

