summaryrefslogtreecommitdiffstats
path: root/bridge/matrix
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-12-11 12:25:28 +0100
committerWim <wim@42.be>2017-12-11 12:25:28 +0100
commit4a4a29c9f6fe202cf4379c0df2ba313848bb8d11 (patch)
tree6b3cc808839aba7b4bf2a13c6110be7e75419f51 /bridge/matrix
parent0a91b9e1c9a7e9fe9e170ddb3d20705f7b3012bc (diff)
downloadmatterbridge-msglm-4a4a29c9f6fe202cf4379c0df2ba313848bb8d11.tar.gz
matterbridge-msglm-4a4a29c9f6fe202cf4379c0df2ba313848bb8d11.tar.bz2
matterbridge-msglm-4a4a29c9f6fe202cf4379c0df2ba313848bb8d11.zip
Fix panic (matrix). Closes #316
Diffstat (limited to 'bridge/matrix')
-rw-r--r--bridge/matrix/matrix.go1
1 files changed, 1 insertions, 0 deletions
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)