diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index c68b10d33f..90bf3a5a99 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1212,7 +1212,7 @@ export default createReactClass({ }); }, function(error) { const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - console.error("Search failed: " + error); + console.error("Search failed", error); Modal.createTrackedDialog('Search failed', '', ErrorDialog, { title: _t("Search failed"), description: ((error && error.message) ? error.message : _t("Server may be unavailable, overloaded, or search timed out :(")),