Define a title for generic error

This commit is contained in:
Travis Ralston 2019-03-22 19:03:43 -06:00
parent 4fd48988e9
commit 389abed574

View file

@ -1098,7 +1098,7 @@ export default React.createClass({
modal.close(); modal.close();
console.error("Failed to leave room " + roomId + " " + err); console.error("Failed to leave room " + roomId + " " + err);
Modal.createTrackedDialog('Failed to leave room', '', ErrorDialog, { Modal.createTrackedDialog('Failed to leave room', '', ErrorDialog, {
title: title, title: _t("Failed to leave room"),
description: _t("Unknown error"), description: _t("Unknown error"),
}); });
}); });