Skip to content

Commit

Permalink
Log eventtype in debug (mattermost) (42wim#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed Jan 9, 2022
1 parent 2e8ab11 commit 15ad016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/mattermost/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 15ad016

Please sign in to comment.