More temporary debugging (#9932)

This commit is contained in:
Joram Wilander
2018-12-03 11:27:26 -05:00
committed by Carlos Tadeu Panato Junior
parent 043a455ce3
commit eab2336bb1

View File

@@ -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