From adfcda48022aa8df33e5824903c15f7b9624f963 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Mon, 12 Sep 2016 11:57:36 -0400
Subject: Some improvments to slack import (#4010)

---
 webapp/components/team_import_tab.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'webapp/components/team_import_tab.jsx')

diff --git a/webapp/components/team_import_tab.jsx b/webapp/components/team_import_tab.jsx
index 49d7f7f1f..0fee6a3d8 100644
--- a/webapp/components/team_import_tab.jsx
+++ b/webapp/components/team_import_tab.jsx
@@ -29,8 +29,8 @@ class TeamImportTab extends React.Component {
         };
     }
 
-    onImportFailure() {
-        this.setState({status: 'fail', link: ''});
+    onImportFailure(e, err, res) {
+        this.setState({status: 'fail', link: 'data:application/octet-stream;charset=utf-8,' + encodeURIComponent(res.text)});
     }
 
     onImportSuccess(data, res) {
-- 
cgit v1.2.3-1-g7c22

