Don't remove the line that gets the error message

pull/21833/head
David Baker 2017-03-16 12:54:18 +00:00
parent d292a627d8
commit 67757a16f3
1 changed files with 1 additions and 0 deletions

View File

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