beautify a tonne more errors
This commit is contained in:
parent
71e0780eee
commit
3aaf37df1a
11 changed files with 50 additions and 32 deletions
|
@ -318,8 +318,8 @@ module.exports = React.createClass({
|
|||
console.error(err.stack);
|
||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failure to invite",
|
||||
description: err.toString()
|
||||
title: "Error",
|
||||
description: "Failed to invite",
|
||||
});
|
||||
return null;
|
||||
})
|
||||
|
@ -331,8 +331,8 @@ module.exports = React.createClass({
|
|||
console.error(err.stack);
|
||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failure to invite user",
|
||||
description: err.toString()
|
||||
title: "Error",
|
||||
description: "Failed to invite user",
|
||||
});
|
||||
return null;
|
||||
})
|
||||
|
@ -352,8 +352,8 @@ module.exports = React.createClass({
|
|||
console.error(err.stack);
|
||||
var ErrorDialog = sdk.getComponent("dialogs.ErrorDialog");
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failure to invite",
|
||||
description: err.toString()
|
||||
title: "Error",
|
||||
description: "Failed to invite",
|
||||
});
|
||||
return null;
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue