1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Don't swallow error.

This commit is contained in:
Richard Lewis
2018-03-29 16:24:03 +01:00
parent 5fc9b8a6b8
commit a1581ad2dc

View File

@@ -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;
});
}