Log eventtype in debug (mattermost) (#1676)

This commit is contained in:
Wim 2022-01-10 00:50:03 +01:00 committed by GitHub
parent 2e8ab11978
commit 15ad0165fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@ func (b *Bmattermost) handleMatterClient(messages chan *config.Message) {
// nolint:cyclop
func (b *Bmattermost) handleMatterClient6(messages chan *config.Message) {
for message := range b.mc6.MessageChan {
b.Log.Debugf("%#v", message.Raw.GetData())
b.Log.Debugf("%#v %#v", message.Raw.GetData(), message.Raw.EventType())
if b.skipMessage6(message) {
b.Log.Debugf("Skipped message: %#v", message)