mirror of https://github.com/vector-im/riot-web
Don't remove the line that gets the error message
parent
d292a627d8
commit
67757a16f3
|
@ -107,6 +107,7 @@ export default React.createClass({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const msg = error.message || error.toString();
|
||||||
this.setState({
|
this.setState({
|
||||||
errorText: msg
|
errorText: msg
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue