diff options
-rw-r--r-- | bridge/whatsapp/handlers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/whatsapp/handlers.go b/bridge/whatsapp/handlers.go index d61f6b24..3fe15889 100644 --- a/bridge/whatsapp/handlers.go +++ b/bridge/whatsapp/handlers.go @@ -18,6 +18,10 @@ Check: // HandleError received from WhatsApp func (b *Bwhatsapp) HandleError(err error) { + // ignore received invalid data errors. https://github.com/42wim/matterbridge/issues/843 + if strings.Contains(err.Error(), "error processing data: received invalid data") { + return + } b.Log.Errorf("%v", err) // TODO implement proper handling? at least respond to different error types } |