From 4a4a29c9f6fe202cf4379c0df2ba313848bb8d11 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 11 Dec 2017 12:25:28 +0100 Subject: [PATCH] Fix panic (matrix). Closes #316 --- bridge/matrix/matrix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go index 489f42e3..dee301be 100644 --- a/bridge/matrix/matrix.go +++ b/bridge/matrix/matrix.go @@ -106,6 +106,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) { res, err := b.mc.UploadToContentRepo(content, mtype, int64(len(*fi.Data))) if err != nil { flog.Errorf("file upload failed: %#v", err) + continue } if strings.Contains(mtype, "video") { flog.Debugf("sendVideo %s", res.ContentURI)