don't track two more potential risks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
56ea528f43
commit
41843f021d
2 changed files with 3 additions and 3 deletions
|
@ -150,8 +150,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
showErrorDialog: function(body, title) {
|
showErrorDialog: function(body, title) {
|
||||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||||
// TODO this will still lead to i18n in Analytics.
|
Modal.createTrackedDialog('Forgot Password Error', '', ErrorDialog, {
|
||||||
Modal.createTrackedDialog('Forgot Password Error', body, ErrorDialog, {
|
|
||||||
title: title,
|
title: title,
|
||||||
description: body,
|
description: body,
|
||||||
});
|
});
|
||||||
|
|
|
@ -729,7 +729,8 @@ export default class MessageComposerInput extends React.Component {
|
||||||
} else if (cmd.error) {
|
} else if (cmd.error) {
|
||||||
console.error(cmd.error);
|
console.error(cmd.error);
|
||||||
const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
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"),
|
title: _t("Command error"),
|
||||||
description: cmd.error,
|
description: cmd.error,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue