From 15ad0165fcd641fb0bff72757a133004b909e866 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 10 Jan 2022 00:50:03 +0100 Subject: Log eventtype in debug (mattermost) (#1676) --- bridge/mattermost/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/mattermost') diff --git a/bridge/mattermost/handlers.go b/bridge/mattermost/handlers.go index 2b386c02..5ad40115 100644 --- a/bridge/mattermost/handlers.go +++ b/bridge/mattermost/handlers.go @@ -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) -- cgit v1.2.3