diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-25 11:31:47 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-25 11:31:47 -0400 |
commit | e743ad483aed6c730bb8636bb089a6ef8d8d0097 (patch) | |
tree | 7dc261ce702e1ea8878831b22f7e7c95c07c225e /web/react/utils | |
parent | c81fbc6d95fa9e6214edf6efec31cbc1d9913b64 (diff) | |
parent | fb1ba90051001ab3ec2d16d334b0fa251d393bd7 (diff) | |
download | chat-e743ad483aed6c730bb8636bb089a6ef8d8d0097.tar.gz chat-e743ad483aed6c730bb8636bb089a6ef8d8d0097.tar.bz2 chat-e743ad483aed6c730bb8636bb089a6ef8d8d0097.zip |
Merge pull request #794 from mattermost/PLT-157
PLT-157 Fixing blue bar and renders warning when mis-configured.
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/client.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx index 4effa7307..715e26197 100644 --- a/web/react/utils/client.jsx +++ b/web/react/utils/client.jsx @@ -27,7 +27,7 @@ function handleError(methodName, xhr, status, err) { msg = 'error in ' + methodName + ' status=' + status + ' statusCode=' + xhr.status + ' err=' + err; if (xhr.status === 0) { - e = {message: 'There appears to be a problem with your internet connection'}; + e = {message: 'There appears to be a problem with your internet connection', connErrorCount: 1}; } else { e = {message: 'We received an unexpected status code from the server (' + xhr.status + ')'}; } |