mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Moving CheckBrowserCompatability to debug (#3889)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user