Moving CheckBrowserCompatability to debug (#3889)

Этот коммит содержится в:
Corey Hulen
2016-08-26 13:24:57 -08:00
коммит произвёл enahum
родитель c2eac2b5dc
Коммит 11270262a4

Просмотреть файл

@@ -294,7 +294,7 @@ func (c *Context) LogAuditWithUserId(userId, extraInfo string) {
func (c *Context) LogError(err *model.AppError) { func (c *Context) LogError(err *model.AppError) {
// filter out endless reconnects // 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) c.LogDebug(err)
} else { } else {
l4g.Error(utils.T("api.context.log.error"), c.Path, err.Where, err.StatusCode, l4g.Error(utils.T("api.context.log.error"), c.Path, err.Where, err.StatusCode,