From 4d93a774cebec3167717ddb722efb00510b5b67f Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 19 Apr 2020 13:45:35 +0200 Subject: Ignore non-critical errors (whatsapp). Fixes #1094 (#1100) --- bridge/whatsapp/handlers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/whatsapp/handlers.go b/bridge/whatsapp/handlers.go index 9a6e9d71..8ea4b077 100644 --- a/bridge/whatsapp/handlers.go +++ b/bridge/whatsapp/handlers.go @@ -23,7 +23,8 @@ 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") { + // ignore tag 174 errors. https://github.com/42wim/matterbridge/issues/1094 + if strings.Contains(err.Error(), "error processing data: received invalid data") || strings.Contains(err.Error(), "invalid string with tag 174") { return } -- cgit v1.2.3