beautify all error msgs
This commit is contained in:
parent
0a0293d8fb
commit
d639eb1049
5 changed files with 30 additions and 20 deletions
|
@ -208,9 +208,10 @@ module.exports = React.createClass({
|
|||
}, function(err) {
|
||||
modal.close();
|
||||
this.refreshRoomList();
|
||||
console.error("Failed to " + step + ": " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failed to "+step,
|
||||
description: err.toString()
|
||||
title: "Error",
|
||||
description: "Failed to " + step,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue