summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-03-13 16:42:25 -0400
committerGitHub <noreply@github.com>2017-03-13 16:42:25 -0400
commit3b081bda080eceeb05c63e74cf2803821f1330ab (patch)
tree279a543eb8586de326fc8f06f42a871bfe8cd70b /webapp/utils/async_client.jsx
parent33c1609aa47b5bb01a594aeb07a742d683866ffd (diff)
downloadchat-3b081bda080eceeb05c63e74cf2803821f1330ab.tar.gz
chat-3b081bda080eceeb05c63e74cf2803821f1330ab.tar.bz2
chat-3b081bda080eceeb05c63e74cf2803821f1330ab.zip
Update eslint (#5752)
* Updating eslint * Updating eslint-plugin-react
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r--webapp/utils/async_client.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx
index f4faba934..2ecb0f07d 100644
--- a/webapp/utils/async_client.jsx
+++ b/webapp/utils/async_client.jsx
@@ -132,7 +132,7 @@ export function getMyChannelMembers() {
(err) => {
callTracker.getChannelsUnread = 0;
dispatchError(err, 'getMyChannelMembers');
- reject();
+ reject(new Error('Unable to getMyChannelMembers'));
}
);
});
@@ -161,7 +161,7 @@ export function getMyChannelMembersForTeam(teamId) {
(err) => {
callTracker[`getMyChannelMembers${teamId}`] = 0;
dispatchError(err, 'getMyChannelMembersForTeam');
- reject();
+ reject(new Error('Unable to getMyChannelMembersForTeam'));
}
);
});
@@ -303,7 +303,7 @@ export function getChannelMember(channelId, userId) {
(err) => {
callTracker[`getChannelMember${channelId}${userId}`] = 0;
dispatchError(err, 'getChannelMember');
- reject();
+ reject(new Error('Unable to getChannelMeber'));
}
);
});