summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-24 15:06:54 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-24 15:06:54 -0700
commit04c12ba58e21297ebe08d0c1e489d5da81cba19e (patch)
treeaac40061e9c15bdc07d31c256070e2dffbd9b044 /web/react/utils
parent6a4a73c2d37aa147e0aa2e157ca78ed275ef822b (diff)
downloadchat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.tar.gz
chat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.tar.bz2
chat-04c12ba58e21297ebe08d0c1e489d5da81cba19e.zip
Fixing blue bar and renders warning when mis-configured.
Diffstat (limited to 'web/react/utils')
-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 + ')'};
}