You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
don't track error messages
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -426,7 +426,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
}, (err) => {
|
||||
modal.close();
|
||||
Modal.createTrackedDialog('Failed to reject invitation', err.toString(), ErrorDialog, {
|
||||
Modal.createTrackedDialog('Failed to reject invitation', '', ErrorDialog, {
|
||||
title: _t('Failed to reject invitation'),
|
||||
description: err.toString(),
|
||||
});
|
||||
@ -896,7 +896,7 @@ module.exports = React.createClass({
|
||||
}, (err) => {
|
||||
modal.close();
|
||||
console.error("Failed to leave room " + roomId + " " + err);
|
||||
Modal.createTrackedDialog('Failed to leave room', err.toString(), ErrorDialog, {
|
||||
Modal.createTrackedDialog('Failed to leave room', '', ErrorDialog, {
|
||||
title: _t("Failed to leave room"),
|
||||
description: (err && err.message ? err.message :
|
||||
_t("Server may be unavailable, overloaded, or you hit a bug.")),
|
||||
|
Reference in New Issue
Block a user