PLT-2593: Fix logs being stored with user locale (#2722)

Этот коммит содержится в:
enahum
2016-04-17 21:32:20 -03:00
коммит произвёл Corey Hulen
родитель c6c3f1e478
Коммит 74e5161a4c
2 изменённых файлов: 9 добавлений и 1 удалений

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

@@ -267,7 +267,7 @@ func (c *Context) LogAuditWithUserId(userId, extraInfo string) {
func (c *Context) LogError(err *model.AppError) {
l4g.Error(utils.T("api.context.log.error"), c.Path, err.Where, err.StatusCode,
c.RequestId, c.Session.UserId, c.IpAddress, err.Message, err.DetailedError)
c.RequestId, c.Session.UserId, c.IpAddress, err.SystemMessage(utils.T), err.DetailedError)
}
func (c *Context) UserRequired() {