log exception

pull/21833/head
David Baker 2018-05-15 15:14:33 +01:00
parent 5b781043a5
commit 464e093f40
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ function setWidget(event, roomId) {
dis.dispatch({ action: "user_widget_updated" });
}).catch((e) => {
console.log("Error adding widget", e);
sendError(event, _t('Error adding widget'));
});
} else { // Room widget