Don't remove the line that gets the error message
This commit is contained in:
parent
d292a627d8
commit
67757a16f3
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ export default React.createClass({
|
|||
return;
|
||||
}
|
||||
|
||||
const msg = error.message || error.toString();
|
||||
this.setState({
|
||||
errorText: msg
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue