From a1581ad2dc4cbb196867a1fd2c66f60e04d2bef6 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 29 Mar 2018 16:24:03 +0100 Subject: [PATCH] Don't swallow error. --- src/ContentMessages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ContentMessages.js b/src/ContentMessages.js index 33009d502b..7fe625f8b9 100644 --- a/src/ContentMessages.js +++ b/src/ContentMessages.js @@ -278,6 +278,7 @@ class ContentMessages { sendStickerContentToRoom(url, roomId, info, text, matrixClient) { return MatrixClientPeg.get().sendStickerMessage(roomId, url, info, text).catch((e) => { console.warn(`Failed to send content with URL ${url} to room ${roomId}`, e); + throw e; }); }