mirror of https://github.com/vector-im/riot-web
don't track two more potential risks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
56ea528f43
commit
41843f021d
|
@ -150,8 +150,7 @@ module.exports = React.createClass({
|
|||
|
||||
showErrorDialog: function(body, title) {
|
||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
// TODO this will still lead to i18n in Analytics.
|
||||
Modal.createTrackedDialog('Forgot Password Error', body, ErrorDialog, {
|
||||
Modal.createTrackedDialog('Forgot Password Error', '', ErrorDialog, {
|
||||
title: title,
|
||||
description: body,
|
||||
});
|
||||
|
|
|
@ -729,7 +729,8 @@ export default class MessageComposerInput extends React.Component {
|
|||
} else if (cmd.error) {
|
||||
console.error(cmd.error);
|
||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createTrackedDialog('Command error', cmd.error, ErrorDialog, {
|
||||
// TODO possibly track which command they ran (not its Arguments) here
|
||||
Modal.createTrackedDialog('Command error', '', ErrorDialog, {
|
||||
title: _t("Command error"),
|
||||
description: cmd.error,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue