From fa9aa85705a86db8091aba2b4ff064e127c940ff Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 12 Dec 2017 05:15:32 -0800 Subject: Fixing formating on SQL errors for get parent posts. (#7965) --- store/sqlstore/post_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/sqlstore/post_store.go b/store/sqlstore/post_store.go index 2fa8f2403..c60a15ce2 100644 --- a/store/sqlstore/post_store.go +++ b/store/sqlstore/post_store.go @@ -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 } -- cgit v1.2.3-1-g7c22