diff options
Diffstat (limited to 'api/context.go')
-rw-r--r-- | api/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go index ddc8f79b1..56c8c86d2 100644 --- a/api/context.go +++ b/api/context.go @@ -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() { |