mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
More temporary debugging (#9932)
This commit is contained in:
committed by
Carlos Tadeu Panato Junior
parent
043a455ce3
commit
eab2336bb1
@@ -135,6 +135,7 @@ func (a *App) CreatePost(post *model.Post, channel *model.Channel, triggerWebhoo
|
||||
|
||||
post.Hashtags, _ = model.ParseHashtags(post.Message)
|
||||
|
||||
mlog.Debug(model.StringInterfaceToJson(post.Props))
|
||||
if err := a.FillInPostProps(post, channel); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -159,6 +160,7 @@ func (a *App) CreatePost(post *model.Post, channel *model.Channel, triggerWebhoo
|
||||
}
|
||||
}
|
||||
|
||||
mlog.Debug(model.StringInterfaceToJson(post.Props))
|
||||
result = <-a.Srv.Store.Post().Save(post)
|
||||
if result.Err != nil {
|
||||
return nil, result.Err
|
||||
|
||||
Reference in New Issue
Block a user