diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-03-13 16:42:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 16:42:25 -0400 |
commit | 3b081bda080eceeb05c63e74cf2803821f1330ab (patch) | |
tree | 279a543eb8586de326fc8f06f42a871bfe8cd70b /webapp/utils/async_client.jsx | |
parent | 33c1609aa47b5bb01a594aeb07a742d683866ffd (diff) | |
download | chat-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.jsx | 6 |
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')); } ); }); |