summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-01-10 00:50:03 +0100
committerGitHub <noreply@github.com>2022-01-10 00:50:03 +0100
commit15ad0165fcd641fb0bff72757a133004b909e866 (patch)
treee098daf1da970ee4539a5cc6e5a6b4f230adf2f8
parent2e8ab119786c689469dd6687c14f7a0e559af811 (diff)
downloadmatterbridge-msglm-15ad0165fcd641fb0bff72757a133004b909e866.tar.gz
matterbridge-msglm-15ad0165fcd641fb0bff72757a133004b909e866.tar.bz2
matterbridge-msglm-15ad0165fcd641fb0bff72757a133004b909e866.zip
Log eventtype in debug (mattermost) (#1676)
-rw-r--r--bridge/mattermost/handlers.go2
1 files changed, 1 insertions, 1 deletions
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)