don't track two more potential risks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-08-10 15:21:01 +01:00
parent 56ea528f43
commit 41843f021d
No known key found for this signature in database
GPG Key ID: 0435A1D4BBD34D64
2 changed files with 3 additions and 3 deletions

View File

@ -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,
});

View File

@ -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,
});