diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index 961f7a13d8..0c10642cd7 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -403,8 +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')); + sendError(event, _t('Unable to create widget.'), e); }); } else { // Room widget if (!roomId) { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index e78a06cccd..957deb35c5 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -103,7 +103,6 @@ "You need to be logged in.": "You need to be logged in.", "You need to be able to invite users to do that.": "You need to be able to invite users to do that.", "Unable to create widget.": "Unable to create widget.", - "Error adding widget": "Error adding widget", "Missing roomId.": "Missing roomId.", "Failed to send request.": "Failed to send request.", "This room is not recognised.": "This room is not recognised.",