summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-08-26 13:24:57 -0800
committerenahum <nahumhbl@gmail.com>2016-08-26 18:24:56 -0300
commit11270262a4a323f1c8e0d809caafd6fa5984166e (patch)
treeb6b1deed2c998da170f7f67e17f0d1f3346dd4aa /api/context.go
parentc2eac2b5dcd392716ed419dbc0b05f89be7961c8 (diff)
downloadchat-11270262a4a323f1c8e0d809caafd6fa5984166e.tar.gz
chat-11270262a4a323f1c8e0d809caafd6fa5984166e.tar.bz2
chat-11270262a4a323f1c8e0d809caafd6fa5984166e.zip
Moving CheckBrowserCompatability to debug (#3889)
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go
index 931909b2e..c2b7a42cb 100644
--- a/api/context.go
+++ b/api/context.go
@@ -294,7 +294,7 @@ func (c *Context) LogAuditWithUserId(userId, extraInfo string) {
func (c *Context) LogError(err *model.AppError) {
// filter out endless reconnects
- if c.Path == "/api/v3/users/websocket" && err.StatusCode == 401 {
+ if c.Path == "/api/v3/users/websocket" && err.StatusCode == 401 || err.Id == "web.check_browser_compatibility.app_error" {
c.LogDebug(err)
} else {
l4g.Error(utils.T("api.context.log.error"), c.Path, err.Where, err.StatusCode,