You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-26 04:01:04 +03:00
beautify a tonne more errors
This commit is contained in:
@ -402,9 +402,10 @@ module.exports = React.createClass({
|
||||
dis.dispatch({action: 'view_next_room'});
|
||||
}, function(err) {
|
||||
modal.close();
|
||||
console.error("Failed to leave room " + payload.room_id + " " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failed to leave room",
|
||||
description: err.toString()
|
||||
description: "Server may be unavailable, overloaded, or you hit a bug."
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user