1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Don't remove the line that gets the error message

This commit is contained in:
David Baker
2017-03-16 12:54:18 +00:00
parent d292a627d8
commit 67757a16f3

View File

@@ -107,6 +107,7 @@ export default React.createClass({
return;
}
const msg = error.message || error.toString();
this.setState({
errorText: msg
});