mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-15 01:12:23 +02:00
Don't remove the line that gets the error message
This commit is contained in:
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…
x
Reference in New Issue
Block a user