You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
log exception
This commit is contained in:
@@ -403,6 +403,7 @@ function setWidget(event, roomId) {
|
|||||||
|
|
||||||
dis.dispatch({ action: "user_widget_updated" });
|
dis.dispatch({ action: "user_widget_updated" });
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
console.log("Error adding widget", e);
|
||||||
sendError(event, _t('Error adding widget'));
|
sendError(event, _t('Error adding widget'));
|
||||||
});
|
});
|
||||||
} else { // Room widget
|
} else { // Room widget
|
||||||
|
|||||||
Reference in New Issue
Block a user