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
beautify a tonne more errors
This commit is contained in:
@@ -102,9 +102,10 @@ function createRoom(opts) {
|
||||
});
|
||||
return roomId;
|
||||
}, function(err) {
|
||||
console.error("Failed to create room " + roomId + " " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: "Failure to create room",
|
||||
description: err.toString()
|
||||
description: "Server may be unavailable, overloaded, or you hit a bug.",
|
||||
});
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user