mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
PLT-7 Removing AppError ctor
This commit is contained in:
@@ -73,7 +73,9 @@ func logClient(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
if lvl == "ERROR" {
|
||||
err := model.NewAppError("client", msg, "")
|
||||
err := &model.AppError{}
|
||||
err.Message = msg
|
||||
err.Where = "client"
|
||||
c.LogError(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user