summaryrefslogtreecommitdiffstats
path: root/web/react/utils/client.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-25 11:31:47 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-25 11:31:47 -0400
commite743ad483aed6c730bb8636bb089a6ef8d8d0097 (patch)
tree7dc261ce702e1ea8878831b22f7e7c95c07c225e /web/react/utils/client.jsx
parentc81fbc6d95fa9e6214edf6efec31cbc1d9913b64 (diff)
parentfb1ba90051001ab3ec2d16d334b0fa251d393bd7 (diff)
downloadchat-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/client.jsx')
-rw-r--r--web/react/utils/client.jsx2
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 + ')'};
}