You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
don't track two more potential risks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user