Don't swallow error.
parent
5fc9b8a6b8
commit
a1581ad2dc
|
@ -278,6 +278,7 @@ class ContentMessages {
|
||||||
sendStickerContentToRoom(url, roomId, info, text, matrixClient) {
|
sendStickerContentToRoom(url, roomId, info, text, matrixClient) {
|
||||||
return MatrixClientPeg.get().sendStickerMessage(roomId, url, info, text).catch((e) => {
|
return MatrixClientPeg.get().sendStickerMessage(roomId, url, info, text).catch((e) => {
|
||||||
console.warn(`Failed to send content with URL ${url} to room ${roomId}`, e);
|
console.warn(`Failed to send content with URL ${url} to room ${roomId}`, e);
|
||||||
|
throw e;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue