PLT-2593: Fix logs being stored with user locale (#2722)
Этот коммит содержится в:
@@ -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() {
|
||||
|
||||
Ссылка в новой задаче
Block a user