[MM-31359] remove duplicated error logs (#16583)
* remove duplicated error logs * reflect review comments * add context * add error details
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
727a158e9a
Коммит
40e16ba07f
@@ -422,8 +422,7 @@ func (a *App) SendNotifications(post *model.Post, team *model.Team, channel *mod
|
||||
if *a.Config().ServiceSettings.CollapsedThreads != model.COLLAPSED_THREADS_DISABLED && post.RootId != "" {
|
||||
thread, err := a.Srv().Store.Thread().Get(post.RootId)
|
||||
if err != nil {
|
||||
mlog.Error("Cannot get thread", mlog.String("id", post.RootId))
|
||||
return nil, err
|
||||
return nil, errors.Wrapf(err, "cannot get thread %q", post.RootId)
|
||||
}
|
||||
payload := thread.ToJson()
|
||||
for _, uid := range thread.Participants {
|
||||
|
||||
Ссылка в новой задаче
Block a user