Fixing formating on SQL errors for get parent posts. (#7965)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
4c17bdff1b
Коммит
fa9aa85705
@@ -696,7 +696,7 @@ func (s SqlPostStore) getParentsPosts(channelId string, offset int, limit int) s
|
||||
ORDER BY CreateAt`,
|
||||
map[string]interface{}{"ChannelId1": channelId, "Offset": offset, "Limit": limit, "ChannelId2": channelId})
|
||||
if err != nil {
|
||||
result.Err = model.NewAppError("SqlPostStore.GetLinearPosts", "store.sql_post.get_parents_posts.app_error", nil, "channelId="+channelId+err.Error(), http.StatusInternalServerError)
|
||||
result.Err = model.NewAppError("SqlPostStore.GetLinearPosts", "store.sql_post.get_parents_posts.app_error", nil, "channelId="+channelId+" err="+err.Error(), http.StatusInternalServerError)
|
||||
} else {
|
||||
result.Data = posts
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user